调试

上级 c9b371c5
......@@ -160,7 +160,7 @@ public class MessageController extends BaseController{
@ApiOperation(value = "根据类型ID返回聊天时长选购类型")
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@GetMapping("/timeTypeById")
public Integer timeTypeById(@ApiParam(value = "购买聊天时长的类型id,唯一识别id", required = true) Integer typeId,HttpServletRequest request){
return messageService.timeTypeById(typeId,this.getUserLoginInfoFromRedis(request).getUserAccountId());
public Integer timeTypeById(@ApiParam(value = "购买聊天时长的类型id,唯一识别id", required = true) Integer typeId, Integer userId){
return messageService.timeTypeById(typeId,userId);
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论