|
@@ -151,8 +151,8 @@ public class StudentOrderController extends BaseController {
|
|
|
@ApiImplicitParam(name = "payChannel", value = "支付方式(alipay-支付宝app支付)", required = true, dataType = "String"),
|
|
|
})
|
|
|
public Object executePayment(BigDecimal amount, String orderNo, String payChannel, String notifyUrl, String returnUrl, String orderSubject, String orderBody, String sign, String code) throws Exception {
|
|
|
- String appId = "wx80f175c0eb6836e9";
|
|
|
- String appSecret = "f817dc79e4149aaa4fafd6f8279b3593";
|
|
|
+ String appId = "wx751141096e75a4ee";
|
|
|
+ String appSecret = "e882d76c95d1613607a85338b1bed3ff";
|
|
|
String wxMpOAuth2AccessTokenUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
|
|
|
//payChannel = PayChannelEnum.ALIPAY_QR.getCode();
|
|
|
// if (!new Pay().verifySign(amount, orderNo, notifyUrl, orderSubject, orderBody,sign)) {
|