Antiloveg 8 years ago
parent
commit
4a41653d17

+ 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);