调试接口

This commit is contained in:
huangdeliang 2021-05-15 18:56:27 +08:00
parent 7ea959e741
commit 2e83c4be3c

View File

@ -563,7 +563,7 @@ public class WechatAppletController extends BaseController {
}
@GetMapping("/subscribe")
public AjaxResult subscribe(@RequestParam String customerId, Long planId, Integer subscribed) {
public AjaxResult subscribe(@RequestParam String customerId, @RequestParam Long planId, @RequestParam Integer subscribed) {
// Long cusId = StringUtils.isNotEmpty(customerId) ? Long.parseLong(AesUtils.decrypt(customerId)) : 0L;
SysRecipesPlan info = new SysRecipesPlan();
@ -574,6 +574,12 @@ public class WechatAppletController extends BaseController {
}
@GetMapping("/subscribe/post")
public AjaxResult subscribePost(@RequestParam Long cusId, @RequestParam Long planId, @RequestParam String name, @RequestParam String startDate, @RequestParam String endDate, @RequestParam String remark) {
return AjaxResult.success(iWechatAppletService.postRecipesMessage(cusId, planId, name, startDate, endDate, remark));
}
}