fix: upload avatar
This commit is contained in:
@@ -251,7 +251,7 @@ public class PlayClerkUserInfoController {
|
||||
@ApiResponse(code = 200, message = "操作成功"),
|
||||
@ApiResponse(code = 500, message = "修改失败")
|
||||
})
|
||||
@PostMapping(value = "/update/state")
|
||||
@PostMapping(value = "/updateState")
|
||||
public R updateState(@ApiParam(value = "店员状态信息", required = true) @Validated @RequestBody PlayClerkUserStateEditVo vo) {
|
||||
PlayClerkUserInfoEntity entity = ConvertUtil.entityToVo(vo, PlayClerkUserInfoEntity.class);
|
||||
boolean success = playClerkUserInfoService.update(entity);
|
||||
|
||||
@@ -27,6 +27,8 @@ public class PlayClerkUserStateEditVo {
|
||||
@ApiModelProperty(value = "是否推荐", notes = "1:已推荐,0:未推荐")
|
||||
private String recommendationState;
|
||||
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 是否置顶状态(1:已置顶,0:未置顶)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user