chenl
2018-10-29 908d4423113dcbd2ff08407007041d9b1a754952
更新
1 files modified
8 ■■■■ changed files
sourcecode/MVNFHM/src/main/java/com/fh/controller/outer/OuterInterfaceController.java 8 ●●●● patch | view | raw | blame | history
sourcecode/MVNFHM/src/main/java/com/fh/controller/outer/OuterInterfaceController.java
@@ -230,7 +230,7 @@
     * @return
     * @throws Exception
     */
    @RequestMapping(value="/user/tenant", method=RequestMethod.GET,produces="application/json;charset=UTF-8")
    @RequestMapping(value="/user/tenant", method=RequestMethod.POST,produces="application/json;charset=UTF-8")
    @ResponseBody
    public Object getTenant(String openId) throws Exception {
        Map<String, Object> map = new HashMap<>();
@@ -243,7 +243,7 @@
            for (PageData t: tenantList) {
                Map<String, Object> tenant = new HashMap<>();
                tenant.put("code", String.valueOf(t.get("TENANT_ID")));
                tenant.put("id", String.valueOf(t.get("TENANT_ID")));
                tenant.put("id", "100000001");
                tenant.put("name", String.valueOf(t.get("TENANT_NAME")));
                tenant.put("orgCode", "999999999");
                
@@ -251,7 +251,7 @@
                Map<String, Object> company = new HashMap<>();
                company.put("code", String.valueOf(t.get("TENANT_ID")));
                company.put("hotInfoCompanyId", String.valueOf(t.get("TENANT_ID")));
                company.put("id", String.valueOf(t.get("TENANT_ID")));
                company.put("id", "7");
                company.put("name", String.valueOf(t.get("TENANT_NAME")));
                company.put("orgCode", "999999999");
                company.put("tenantId", String.valueOf(t.get("TENANT_ID")));
@@ -261,7 +261,7 @@
                tenants.add(tenant);
            }
        }
        data.put("companys", tenants);
        data.put("tenants", tenants);
        map.put("data", data);
        map.put(RSP_CODE, Const.C0000);
        map.put(RSP_MSG, Const.M0000);