1、不同模块登录之后,租户ID的处理,2、新增绑定短信接口
This commit is contained in:
@@ -48,7 +48,7 @@ public class PlayCustomUserInfoController {
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R getInfo(@PathVariable("id") String id) {
|
||||
return R.ok(playCustomUserInfoService.selectPlayCustomUserInfoById(id));
|
||||
return R.ok(playCustomUserInfoService.selectById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,7 +28,7 @@ public interface IPlayCustomUserInfoService extends IService<PlayCustomUserInfoE
|
||||
* @param id 顾客主键
|
||||
* @return 顾客
|
||||
*/
|
||||
PlayCustomUserInfoEntity selectPlayCustomUserInfoById(String id);
|
||||
PlayCustomUserInfoEntity selectById(String id);
|
||||
|
||||
/**
|
||||
* 查询顾客列表
|
||||
@@ -46,6 +46,16 @@ public interface IPlayCustomUserInfoService extends IService<PlayCustomUserInfoE
|
||||
*/
|
||||
boolean create(PlayCustomUserInfoEntity playCustomUserInfo);
|
||||
|
||||
/**
|
||||
* 跟新token
|
||||
*
|
||||
* @param id UUID
|
||||
* @param token TOKEN
|
||||
* @author 杭州世平信息科技有限公司-xuhq
|
||||
* @since 2024/4/9 14:33
|
||||
**/
|
||||
void updateTokenById(String id, String token);
|
||||
|
||||
/**
|
||||
* 修改顾客
|
||||
*
|
||||
|
||||
@@ -40,7 +40,7 @@ public class PlayCustomUserInfoServiceImpl extends ServiceImpl<PlayCustomUserInf
|
||||
* @return 顾客
|
||||
*/
|
||||
@Override
|
||||
public PlayCustomUserInfoEntity selectPlayCustomUserInfoById(String id) {
|
||||
public PlayCustomUserInfoEntity selectById(String id) {
|
||||
return this.baseMapper.selectById(id);
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ public class PlayCustomUserInfoServiceImpl extends ServiceImpl<PlayCustomUserInf
|
||||
return save(playCustomUserInfo);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void updateTokenById(String id, String token) {
|
||||
PlayCustomUserInfoEntity entity = new PlayCustomUserInfoEntity();
|
||||
entity.setToken(token);
|
||||
entity.setId(id);
|
||||
this.baseMapper.updateById(entity);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改顾客
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user