| | |
| | | redisCache.deleteObject(Constants.SYS_LIVE_CLICK_COUNT+id); |
| | | |
| | | // 删除直播 |
| | | TSysLive sysLive = sysLiveService.getById(id); |
| | | xiaoeUtils.deleteLive(sysLive.getGoslingLiveId()); |
| | | // TSysLive sysLive = sysLiveService.getById(id); |
| | | // xiaoeUtils.deleteLive(sysLive.getGoslingLiveId()); |
| | | |
| | | return R.ok(sysLiveService.removeById(id)); |
| | | } |
| | |
| | | // 查询用户信息 用户openid |
| | | String openId = sysAppUser.getOpenId(); |
| | | // 存储支付记录 |
| | | sysPayRecordService.saveData(orderNo, userId, sysOtherConfig.getAiPrice(), 1, orderType, inspectionId); |
| | | sysPayRecordService.saveData(orderNo, userId, orderType==1?sysOtherConfig.getAiPrice():sysOtherConfig.getAiMonthPrice(), 1, orderType, inspectionId); |
| | | // 调用支付方法 |
| | | Map<String, Object> result = wxV3Pay.jsApi(orderNo, totalPrice, openId,"AI检测报告支付",""); |
| | | log.info("支付参数:{}", result); |
| | |
| | | @TableField("live_introduction") |
| | | private String liveIntroduction; |
| | | |
| | | @NotNull(message = "开始时间不能为空") |
| | | @ApiModelProperty(value = "开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField("start_time") |