java110
2022-07-26 e1a3c35ad67174738799ba59454d3c6badc1ec97
service-user/src/main/java/com/java110/user/cmd/org/ListOrgsCmd.java
@@ -40,8 +40,12 @@
    @Override
    public void validate(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException {
        super.validatePageInfo(reqJson);
        String storeId = context.getReqHeaders().get("store-id");
        reqJson.put("storeId", storeId);
        if (!reqJson.containsKey("storeId")) {
            String storeId = context.getReqHeaders().get("store-id");
            reqJson.put("storeId", storeId);
        }
//        String storeId = context.getReqHeaders().get("store-id");
//        reqJson.put("storeId", storeId);
        Assert.hasKeyAndValue(reqJson, "storeId", "必填,请填写商户ID");
    }