|
@@ -35,11 +35,12 @@ class PaymentController extends Controller
|
35
|
35
|
|
36
|
36
|
if ($result['return_code'] == 'SUCCESS' && $result['result_code'] == 'SUCCESS') {
|
37
|
37
|
//第二次签名
|
38
|
|
- $result = $app->jssdk->appConfig($result['prepay_id']);
|
|
38
|
+ //$result = $app->jssdk->appConfig($result['prepay_id']);
|
|
39
|
+ $config = $app->configForAppPayment($result['prepay_id']);
|
39
|
40
|
return response()->json([
|
40
|
41
|
"status" => 0,
|
41
|
42
|
"code" => "success",
|
42
|
|
- "msg" => $result
|
|
43
|
+ "msg" => $config
|
43
|
44
|
]);
|
44
|
45
|
} else {
|
45
|
46
|
return response()->json([
|