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

Commit 166296b5 authored by jiangxiulong's avatar jiangxiulong

关注状态

parent ee0e7168
......@@ -46,17 +46,12 @@ public class SweetWechatTemplateController {
public ResponseDto followStatus(
@RequestParam() String unionId
) {
boolean status = sweetTemplateService.followStatusStr(unionId);
if (status) {
return ResponseDto.success(1);
} else {
status = sweetTemplateService.followStatus(unionId);
boolean status = sweetTemplateService.followStatus(unionId);
if (status) {
return ResponseDto.success(1);
} else {
return ResponseDto.success(2);
}
}
}
}
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