修改查询交易记录接口

1、添加按id排序
2、添加查询所有国家
3、添加接口,更新用户国家、职业信息
This commit is contained in:
2025-01-10 16:13:45 +08:00
parent 698fca8787
commit ef70598180
8 changed files with 59 additions and 4 deletions

View File

@@ -341,4 +341,11 @@ public class AccountController {
public Response<Boolean> unbindGoogle() {
return Response.success(accountService.unbindGoogle());
}
@GetMapping("/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();
}
}