fix
This commit is contained in:
@@ -11,10 +11,8 @@ import com.starry.admin.modules.custom.module.entity.PlayCustomUserInfoEntity;
|
||||
import com.starry.admin.modules.custom.service.IPlayCustomUserInfoService;
|
||||
import com.starry.admin.modules.order.module.entity.PlayOrderInfoEntity;
|
||||
import com.starry.admin.modules.order.service.IPlayOrderInfoService;
|
||||
import com.starry.admin.modules.order.service.impl.PlayOrderInfoServiceImpl;
|
||||
import com.starry.admin.modules.platform.entity.SysTenantEntity;
|
||||
import com.starry.admin.modules.platform.service.impl.SysTenantServiceImpl;
|
||||
import com.starry.admin.modules.weichat.service.WxCustomMpService;
|
||||
import com.starry.admin.utils.SecurityUtils;
|
||||
import com.starry.common.result.R;
|
||||
import com.starry.common.utils.StringUtils;
|
||||
@@ -45,12 +43,14 @@ public class WxPlayController {
|
||||
private IPlayCustomUserInfoService customUserInfoService;
|
||||
@Resource
|
||||
private IPlayOrderInfoService orderInfoService;
|
||||
@Resource
|
||||
private WxCustomMpService mpService;
|
||||
|
||||
@Resource
|
||||
PlayOrderInfoServiceImpl playOrderInfoService;
|
||||
|
||||
@GetMapping("/test")
|
||||
public String test() {
|
||||
SysTenantEntity tenant = tenantService.getById("7f7ecd75fd29464db2867982f88e8ef0");
|
||||
tenantService.initRole(tenant);
|
||||
return WxPayNotifyResponse.success("成功");
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信支付-微信回调地址(https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_7&index=8)
|
||||
@@ -130,6 +130,7 @@ public class WxPlayController {
|
||||
BigDecimal paymentAmount = customUserInfoService.getCustomPaymentAmount(new BigDecimal(money), ThreadLocalRequestDetail.getCustomUserInfo().getId());
|
||||
return R.ok(paymentAmount);
|
||||
}
|
||||
|
||||
@CustomUserLogin
|
||||
@GetMapping("/custom/createOrder")
|
||||
public R createOrder(@RequestParam("money") String money) {
|
||||
|
||||
Reference in New Issue
Block a user