|
@@ -65,9 +65,11 @@ public class UserShareController extends BaseApiController {
|
|
|
@PostMapping("/ticket/code/generate")
|
|
|
@ApiModelProperty("生成指定门店下盲票二维码")
|
|
|
public AjaxResult generateTicketUnderChannelCode(@RequestBody JSONObject jsonObject) {
|
|
|
- String channelId = jsonObject.getString("channelId");// 渠道ID
|
|
|
+ Long channelId = Long.parseLong(jsonObject.getString("channelId"));// 门店ID
|
|
|
+ String siteName = jsonObject.getString("siteName"); // 门店名称
|
|
|
+ Long userId = SecurityUtils.getUserId();
|
|
|
String appId = AppSourceEnum.MSDQ.getAppId();
|
|
|
- String rst = wxUrlLinkService.generateUnlimitCode("packageOperate/store/index", channelId, appId);;
|
|
|
+ String rst = wxUrlLinkService.generateUnlimitCode("packageOperate/store/index", channelId + "&" + userId + "&" + siteName, appId);;
|
|
|
return new AjaxResult(Type.SUCCESS, "", rst);
|
|
|
}
|
|
|
}
|