cjl
2023-11-01 8ef8f346231992fbbdae8a4eff5f7feb467616a2
screen-api/src/main/java/com/moral/api/controller/AppUserController.java
@@ -3,6 +3,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -30,8 +31,6 @@
    @Autowired
    private UserService userService;
    @ApiOperation(value = "登陆信息")
    @PostMapping("logins")
    public ResultMessage login(@RequestBody Map<String, Object> parameters) {
@@ -55,5 +54,11 @@
        return ResultMessage.ok(result);
    }
    @GetMapping("/wx/exit")
    @ApiOperation(value = "小程序退出")
    public ResultMessage updateUserId(@RequestParam @ApiParam(value = "userId",name = "用户主键") Integer userId) {
        userService.updateUserId(userId);
        return ResultMessage.ok();
    }
}