BUGFIX:试用订单邮件 订单更新时间判断;

This commit is contained in:
shahaibo
2025-02-11 11:27:08 +08:00
parent aff870fba7
commit 297391d57e
6 changed files with 53 additions and 23 deletions

View File

@@ -343,10 +343,9 @@ public class AccountController {
return Response.success(accountService.unbindGoogle());
}
@GetMapping("/updateUserInfo")
@PostMapping("/updateUserInfo")
@ApiOperation(value = "更新用户国家、职业信息")
public Response<String> updateUserInfo(@RequestParam(value = "country", required = false) String country, @RequestParam(value = "occupation", required = false) String occupation) {
accountService.updateUserInfo(country, occupation);
return Response.success();
public Response<Boolean> updateUserInfo(UpdateUserInfoDTO updateUserInfoDTO) {
return Response.success(accountService.updateUserInfo(updateUserInfoDTO));
}
}