|
|
@@ -93,7 +93,7 @@ public class AdminReleaseApiController extends CertifyApiController{
|
|
|
res.getError().add(buildErrorMessageParams(ErrorConstants.PARAM_EMPTY_ERROR,"编号"));
|
|
|
return res;
|
|
|
}
|
|
|
- if (in.getLatitude()==null&&in.getLongitude()==null&&in.getUserName()==null){
|
|
|
+ if (in.getLatitude()==null||in.getLongitude()==null||in.getUserName()==null){
|
|
|
res.getError().add(buildErrorMessageParams(ErrorConstants.PARAM_EMPTY_ERROR,"位置"));
|
|
|
return res;
|
|
|
}
|