公聊房-后台-myApi-创建公聊房
This commit is contained in:
@@ -334,6 +334,15 @@ public class MyApiController {
|
||||
return BusiResult.success();
|
||||
}
|
||||
|
||||
@RequestMapping("/createPublicRoom")
|
||||
@ResponseBody
|
||||
public BusiResult<Void> createPublicRoom(Long roomId, Integer partitionId) {
|
||||
if (null == roomId || !roomId.equals(603L) || null == partitionId) {
|
||||
throw new AdminServiceException(BusiStatus.PARAMERROR);
|
||||
}
|
||||
myApiService.createPublicRoom(partitionId);
|
||||
return BusiResult.success();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private GoogleTokenVerifier googleTokenVerifier;
|
||||
|
Reference in New Issue
Block a user