|
@@ -93,14 +93,14 @@ public class GzptUserInfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 清除学员激活状态与会员信息接口(测试专用)
|
|
|
+ * (测试专用)清除学员激活状态与会员信息接口
|
|
|
*/
|
|
|
@GetMapping("/clearUserVip")
|
|
|
- @ApiOperation("清除学员激活状态与会员信息接口(测试专用)")
|
|
|
+ @ApiOperation("(测试专用)清除学员激活状态与会员信息接口")
|
|
|
public Response clearUserVip(GzptVideoVipDTO gzptVideoVipDTO) throws Exception {
|
|
|
GzptUserInfo gzptUserInfo = userInfoService.getInfoById(gzptVideoVipDTO.getUserId());
|
|
|
//清除会员信息
|
|
|
- userVipService.removeByUserId(gzptVideoVipDTO.getUserId());
|
|
|
+ int i = userVipService.removeByUserId(gzptVideoVipDTO.getUserId());
|
|
|
//清除激活信息
|
|
|
schActivationService.delSchActivationByStuId(gzptUserInfo.getOutId());
|
|
|
return Response.success();
|