记得上下班打卡 | git大法好,push需谨慎

Commit e3370339 authored by jiangxiulong's avatar jiangxiulong

add log

parent 641621f0
......@@ -7,12 +7,14 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
@Api(tags = "服务号-模版消息")
@Slf4j
@RestController
@RequestMapping("/wechatTemplate")
public class SweetWechatTemplateController {
......@@ -61,6 +63,7 @@ public class SweetWechatTemplateController {
@RequestParam(defaultValue = "") String userId,
@RequestParam(defaultValue = "") String phone
) {
log.info("followStatus参数 [unionId:{},type:{},userId:{},phone:{}]", unionId, type, userId, phone);
boolean status = sweetTemplateService.followStatus(unionId, type, userId, phone);
if (status) {
return ResponseDto.success(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment