1
This commit is contained in:
parent
21027e3584
commit
9c9859a727
@ -76,7 +76,7 @@ class UserController extends AbstractController
|
|||||||
|
|
||||||
// 获取预支付交易会话标识
|
// 获取预支付交易会话标识
|
||||||
$total = 0.01 * 100;
|
$total = 0.01 * 100;
|
||||||
$prepay = $WechatPay->getJsapiPrepayId("123459",$total,"o9gYG441zEAHuYoNX7lwFKiQBzKE");
|
$prepay = $WechatPay->getJsapiPrepayId("123460",$total,"o9gYG441zEAHuYoNX7lwFKiQBzKE");
|
||||||
if (empty($prepay)){
|
if (empty($prepay)){
|
||||||
return fail(HttpEnumCode::SERVER_ERROR, "订单创建失败");
|
return fail(HttpEnumCode::SERVER_ERROR, "订单创建失败");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,8 @@ class Auth
|
|||||||
"/area/province" => "get",// 获取省份信息
|
"/area/province" => "get",// 获取省份信息
|
||||||
"/area/city" => "get", // 获取城市信息
|
"/area/city" => "get", // 获取城市信息
|
||||||
"/area/county" => "get", // 获取区县信息
|
"/area/county" => "get", // 获取区县信息
|
||||||
"/callback/pay/wx" => "post", // 微信支付回调
|
"/callback/wxpay/doctor" => "post", // 微信支付回调
|
||||||
|
"/callback/wxpay/patient" => "post", // 微信支付回调
|
||||||
"/testpay" => "get", // 测试
|
"/testpay" => "get", // 测试
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user