|
@@ -28,13 +28,9 @@ import com.goafanti.common.bo.Result;
|
|
|
import com.goafanti.common.constant.AFTConstants;
|
|
import com.goafanti.common.constant.AFTConstants;
|
|
|
import com.goafanti.common.constant.ErrorConstants;
|
|
import com.goafanti.common.constant.ErrorConstants;
|
|
|
import com.goafanti.common.constant.PageConstants;
|
|
import com.goafanti.common.constant.PageConstants;
|
|
|
-import com.goafanti.common.controller.BaseApiController;
|
|
|
|
|
import com.goafanti.common.controller.CertifyApiController;
|
|
import com.goafanti.common.controller.CertifyApiController;
|
|
|
-import com.goafanti.common.enums.AchievementAuditStatus;
|
|
|
|
|
import com.goafanti.common.enums.AchievementFields;
|
|
import com.goafanti.common.enums.AchievementFields;
|
|
|
import com.goafanti.common.enums.AttachmentType;
|
|
import com.goafanti.common.enums.AttachmentType;
|
|
|
-import com.goafanti.common.enums.DemandAuditStatus;
|
|
|
|
|
-import com.goafanti.common.enums.DemandDataCategory;
|
|
|
|
|
import com.goafanti.common.enums.DemandFields;
|
|
import com.goafanti.common.enums.DemandFields;
|
|
|
import com.goafanti.common.model.Achievement;
|
|
import com.goafanti.common.model.Achievement;
|
|
|
import com.goafanti.common.model.Demand;
|
|
import com.goafanti.common.model.Demand;
|
|
@@ -830,10 +826,10 @@ public class AppUserController extends CertifyApiController {
|
|
|
@RequestMapping(value="/applistMessage",method=RequestMethod.GET)
|
|
@RequestMapping(value="/applistMessage",method=RequestMethod.GET)
|
|
|
public Result applistMessage(Integer pageNo,Integer pageSize){
|
|
public Result applistMessage(Integer pageNo,Integer pageSize){
|
|
|
Result result=new Result();
|
|
Result result=new Result();
|
|
|
-// if(StringUtils.isBlank(TokenManager.getUserId())) {
|
|
|
|
|
-// result.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "", "当前用户未登陆"));
|
|
|
|
|
-// return result;
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+ if(StringUtils.isBlank(TokenManager.getUserId())) {
|
|
|
|
|
+ result.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "", "当前用户未登陆"));
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
result.setData(messageService.applistMessage(pageNo,pageSize));
|
|
result.setData(messageService.applistMessage(pageNo,pageSize));
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|