1
This commit is contained in:
parent
ba2049a5cb
commit
242265d54d
@ -53,6 +53,8 @@ public class BusiSubscribeController extends BaseController {
|
||||
@Log(title = "订阅", businessType = BusinessType.INSERT)
|
||||
@PostMapping(value = "/save")
|
||||
public AjaxResult save(@RequestBody BusiSubscribe busiSubscribe) {
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
busiSubscribe.setUserId(userId);
|
||||
busiSubscribeService.saveOrUpdate(busiSubscribe);
|
||||
return success();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user