cjl
2023-10-20 58e6dec8c583778714bb1447755f9ffc46b0c5ec
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();
    }
}