export default [
  {
    url: "/gateway/org/back/institutionService/query",
    type: "post",
    response: (req, res, next) => {
      return {
        head: {
          requestId: "89ddd8cb218a9bf16bfae38afe12f1f9",
          errorCode: "0",
          timestamp: 1588932050331,
          time: 25,
          gtime: 37,
        },
        body: {
          data: [
            {
              busTypeId: "15",
              contact: "张三",
              createDate: "2020-05-07T06:45:51.000+0000",
              insId: "443060900547555335",
              insManager: "aaa",
              insManagerPhone: "999999999",
              insName: "**科技",
              isValid: "Y",
              legal: "11111",
              organizationCode: "001",
              phone: "12345445655",
              typeId: "3",
              updateDate: "2020-05-09T04:44:39.000+0000",
              updateUser: "e14fa4b33acd4099abc56ed0585bd59b",
              industryType: "1",
              checked: true,
            },
            {
              createDate: "2020-05-07T06:44:56.000+0000",
              insId: "443060666383757321",
              contact: "李四",
              phone: "15437894987",
              insManager: "bbb",
              insManagerPhone: "445678900",
              insName: "金财互联",
              isValid: "Y",
              organizationCode: "002",
              typeId: "3",
              updateDate: "2020-05-08T09:01:22.000+0000",
              updateUser: "e14fa4b33acd4099abc56ed0585bd59b",
              industryType: "2",
              checked: false,
            },
          ],
          pager: {
            pageIndex: 1,
            pageSize: 20,
            pageCount: 3,
            recordCount: 46,
            sizeOfCurrentPage: 0,
            indexOfFirstItemOfCurrentPage: 0,
            prePageIndex: 1,
            nextPageIndex: 2,
          },
        },
      };
    },
  },
  {
    url: "/gateway/system/back/sysDicItemService/sysDicItemByCodes",
    type: "post",
    response: (req, res, next) => {
      // req.body 可获取post参数
      // req.query 可获取get参数
      return {
        head: {
          requestId: "3adb59fce3ea547b913333e7a58329be",
          errorCode: "0",
          timestamp: 1588930172024,
          time: 29,
          gtime: 68,
        },
        body: {
          dic_DICT_BUSINESS_TYPE_BACK: `[{"itemid":"63","itemValue":"1","itemCode":"1","itemName":"金财互联","itemNameShort":"金财互联","dicId":"13","dicCode":null,"parentId":null,"parentName":null,"pathCode":"","sortNo":1,"remark":null,"createUser":"","createDate":1480995522000,"updateUser":"13","updateDate":null,"likeItemCode":null,"subNodeFlag":null},{"itemid":"3b58d0de5c9547a28b781918f93352b1","itemValue":"10","itemCode":"10","itemName":"金财管家中介客户","itemNameShort":"金财管家中介客户","dicId":"13","dicCode":null,"parentId":"平铺形式，没有父级","parentName":null,"pathCode":"001","sortNo":9,"remark":"金财管家中介客户","createUser":"1","createDate":1513410625000,"updateUser":"1","updateDate":1513410625000,"likeItemCode":null,"subNodeFlag":null}]`,
        },
      };
    },
  },
];
