Antiloveg 8 年之前
父節點
當前提交
4a41653d17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/portal/controller/PortalInterestApiController.java

+ 1 - 1
src/main/java/com/goafanti/portal/controller/PortalInterestApiController.java

@@ -101,7 +101,7 @@ public class PortalInterestApiController extends CertifyApiController{
 
 		DemandInterest di = demandInterestService.selectDemandInterestByUidAndDemandId(TokenManager.getUserId(), id);
 		if (null != di) {
-			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "当前科技需求已关注!"));
+			res.getError().add(buildError("", "当前科技需求已关注!"));
 			return res;
 		}
 		Demand d = demandService.selectByPrimaryKey(id);