| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.constant.ServiceConstant; |
| | | import com.java110.common.util.Assert; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.web.core.AbstractComponentSMO; |
| | | import com.java110.core.component.AbstractComponentSMO; |
| | | import com.java110.web.smo.service.IBindingServiceSMO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpMethod; |
| | |
| | | |
| | | JSONArray infos = paramIn.getJSONArray("data"); |
| | | |
| | | if(infos == null || infos.size() !=2){ |
| | | throw new IllegalArgumentException("请求参数错误,为包含 应用或服务信息"); |
| | | if(infos == null || infos.size() !=3){ |
| | | throw new IllegalArgumentException("请求参数错误,为包含 应用, 服务或 扩展信息"); |
| | | } |
| | | |
| | | Assert.hasKeyByFlowData(infos, "addRouteView", "orderTypeCd", "必填,请填写订单类型"); |
| | | Assert.hasKeyByFlowData(infos, "addRouteView", "invokeLimitTimes", "必填,请填写调用次数"); |
| | | Assert.hasKeyByFlowData(infos, "addRouteView", "invokeModel", "可填,请填写消息队列,订单在异步调用时使用"); |
| | | |
| | | } |
| | | |
| | | @Override |