This commit is contained in:
PQZ 2025-04-02 10:30:29 +08:00
parent ba2049a5cb
commit 242265d54d

View File

@ -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();
}