|
|
@@ -92,7 +92,7 @@ class Api extends Controller |
|
|
|
$orderData['method'] = 'mp'; |
|
|
|
$orderData['openid'] = $openid; |
|
|
|
$payData = Service::submitOrder($orderData); |
|
|
|
$payData = json_decode($payData, true); |
|
|
|
// $payData = json_decode($payData, true); |
|
|
|
if (!isset($payData['appId'])) { |
|
|
|
$this->error("创建订单失败,请返回重试"); |
|
|
|
} |
|
|
|