/**
 * @description 导出网络配置
 **/
let admin_url = process.env.VUE_APP_ADMIN_URL
let base_url = process.env.VUE_APP_BASE_URL
let api_url = process.env.VUE_APP_API_URL
let h5_url = process.env.VUE_APP_H5_URL

// api_url = "https://demo.lancerdt.com/api"
// api_url = "https://mall.gpxscs.cn/api"

let url = {
  admin_url: admin_url,
  base_url: base_url,
  api_url: api_url,
  h5_url: h5_url,
  sys_info: api_url + '/mobile/account/config/info', // 系统配置
  routerList: api_url + '/admin/admin/admin-base-menu/router/getList', // 获取路由路径
  action: api_url + '/admin/oss/upload', // 图片 oss 路径
  appUrl: api_url + '/admin/shop/shop-page-app/editApp', // 手机装修路径
  verifyCode: api_url + '/admin/shop/shop-base-config/image', // 获取登录验证码路径
  testEmail: api_url + '/admin/shop/email/testEmail', // 邮件测试路径
  upload: api_url + '/admin/oss/upload', // 图片 oss 路径
  appVersion: {
    getShopAppVersionList:
      api_url + '/admin/admin/app-market-update/search/list',
    addShopAppVersion: api_url + '/admin/admin/app-market-update/add/new',
    updateShopAppVersion: api_url + '/admin/admin/app-market-update/modify',
    disableUpdateShopApp:
      api_url + '/admin/admin/app-market-update/enable-or-disable',
  },
  orderPush: {
    orderPushTest: api_url + '/mobile/account/login/push/testcase',
  },
  city: {
    user: {
      paotuier: {
        getList: api_url + '/admin/shop/city-user-paotuier/list',
        doEdit: api_url + '/admin/shop/city-user-paotuier/edit',
      },
    },
    market: {
      order: {
        base: {
          getList: api_url + '/admin/shop/city-market-order-base/list',
        },
      },
    },
  },
  analytics: {
    history: {
      getAccessOs: api_url + '/admin/shop/analytics/history/getAccessOs',
      getAccessBrowser:
        api_url + '/admin/shop/analytics/history/getAccessBrowser',
      getAccessCountry:
        api_url + '/admin/shop/analytics/history/getAccessCountry',
      getAccessDevice:
        api_url + '/admin/shop/analytics/history/getAccessDevice',
      getAccessProvince:
        api_url + '/admin/shop/analytics/history/getAccessProvince',

      getAccessItemTimeLine:
        api_url + '/admin/shop/analytics/history/getAccessItemTimeLine',
      getAccessItemUserTimeLine:
        api_url + '/admin/shop/analytics/history/getAccessItemUserTimeLine',
      getAccessVisitorTimeLine:
        api_url + '/admin/shop/analytics/history/getAccessVisitorTimeLine',
      getAccessVisitorNum:
        api_url + '/admin/shop/analytics/history/getAccessVisitorNum',
      getAccessNum: api_url + '/admin/shop/analytics/history/getAccessNum',

      getAccessItemNum:
        api_url + '/admin/shop/analytics/history/getAccessItemNum',
      getAccessItemUserNum:
        api_url + '/admin/shop/analytics/history/getAccessItemUserNum',
      listAccessItem: api_url + '/admin/shop/analytics/history/listAccessItem',
    },
    order: {
      //商家端-订单量
      getOrderNumToday:
        api_url + '/admin/shop/analytics/order/getOrderNumToday',
      getOrderNum: api_url + '/admin/shop/analytics/order/getOrderNum',
      //商家端-使用优惠卷数量
      getVoucherActiveNumToday:
        api_url + '/admin/shop/analytics/order/getVoucherActiveNumToday',
      getVoucherActiveNum:
        api_url + '/admin/shop/analytics/order/getVoucherActiveNum',
      getSaleOrderAmount:
        api_url + '/admin/shop/analytics/order/getSaleOrderAmount',
      getOrderAmount: api_url + '/admin/shop/analytics/order/getOrderAmount',
      getDashboardTimeLine:
        api_url + '/admin/shop/analytics/order/getDashboardTimeLine',
      getOrderNumTimeline:
        api_url + '/admin/shop/analytics/order/getOrderNumTimeline',
      getOrderCustomerNumTimeline:
        api_url + '/admin/shop/analytics/order/getOrderCustomerNumTimeline',

      getOrderItemNumTimeLine:
        api_url + '/admin/shop/analytics/order/getOrderItemNumTimeLine',
      listOrderItemNum:
        api_url + '/admin/shop/analytics/order/listOrderItemNum',

      getOrderItemNum: api_url + '/admin/shop/analytics/order/getOrderItemNum',
    },
    return: {
      // 商家端-退货单数
      getReturnNumToday:
        api_url + '/admin/shop/analytics/return/getReturnNumToday',
      getReturnNum: api_url + '/admin/shop/analytics/return/getReturnNum',
      getReturnAmountTimeline:
        api_url + '/admin/shop/analytics/return/getReturnAmountTimeline',
      getReturnAmount: api_url + '/admin/shop/analytics/return/getReturnAmount',

      getReturnNumTimeline:
        api_url + '/admin/shop/analytics/return/getReturnNumTimeline',
      getReturnCustomerNumTimeline:
        api_url + '/admin/shop/analytics/return/getReturnCustomerNumTimeline',

      getReturnItemNumTimeLine:
        api_url + '/admin/shop/analytics/return/getReturnItemNumTimeLine',
      listReturnItemNum:
        api_url + '/admin/shop/analytics/return/listReturnItemNum',

      getReturnItemNum:
        api_url + '/admin/shop/analytics/return/getReturnItemNum',
    },
    user: {
      getVisitor: api_url + '/admin/shop/analytics/user/getVisitor',
      getRegUser: api_url + '/admin/account/analytics/user/getRegUser',

      getUserNum: api_url + '/admin/account/analytics/user/getUserNum',
      getUserTimeLine:
        api_url + '/admin/account/analytics/user/getUserTimeLine',
    },
    store: {
      getStoreNum: api_url + '/admin/shop/analytics/store/getStoreNum',
      getStoreTimeLine:
        api_url + '/admin/shop/analytics/store/getStoreTimeLine',
    },
    trade: {
      //商家端-销售额
      getSalesAmount: api_url + '/admin/pay/analytics/trade/getSalesAmount',
    },
    product: {
      getProductTimeLine:
        api_url + '/admin/shop/analytics/product/getProductTimeLine',
      getProductNum: api_url + '/admin/shop/analytics/product/getProductNum',
    },
  },
  invoicing: {
    supplier: {
      contacter: {
        doEditcontacter:
          api_url + '/admin/shop/invoicing-supplier-contacter/edit',
      },
      base: {
        doEdit: api_url + '/admin/shop/invoicing-supplier-base/edit',
        getList: api_url + '/admin/shop/invoicing-supplier-base/list',
        doDelete: api_url + '/admin/shop/invoicing-supplier-base/delete',
      },
    },
    customer: {
      level: {
        doEdit: api_url + '/admin/shop/invoicing-customer-level/edit',
        getList: api_url + '/admin/shop/invoicing-customer-level/list',
        doDelete: api_url + '/admin/shop/invoicing-customer-level/delete',
      },

      base: {
        doEdit: api_url + '/admin/shop/invoicing-customer-base/edit',
        getList: api_url + '/admin/shop/invoicing-customer-base/list',
        doDelete: api_url + '/admin/shop/invoicing-customer-base/delete',
      },
    },
    stock: {
      bill: {
        getList: api_url + '/admin/shop/invoicing-stock-bill/list',
        getBillList: api_url + '/admin/shop/invoicing-stock-bill/billList',
        BillList: api_url + '/admin/shop/invoicing-stock-bill/getList',
        doEdit: api_url + '/admin/shop/invoicing-stock-bill/edit',
      },
    },
    warehouse: {
      base: {
        doEdit: api_url + '/admin/shop/invoicing-warehouse-base/edit',
        getList: api_url + '/admin/shop/invoicing-warehouse-base/list',
        doDelete: api_url + '/admin/shop/invoicing-warehouse-base/delete',
      },
    },
  },
  account: {
    user: {
      base: {
        login: api_url + '/admin/account/account-user-base/doLogin',
        register: api_url + '/mobile/account/login/register',
        userInfo: api_url + '/admin/account/account-user-base/info',
        logout: api_url + '/mobile/account/login/doLogout',
        // 获取用户信息列表
        getList: api_url + '/admin/account/account-user-base/list',
        doDelete: api_url + '/admin/account/account-user-base/delete',
        doDeleteChannel: api_url + '/admin/account/account-user-channel/delete',
        getListChannelCode:
          api_url + '/admin/account/account-user-channel-code/list',
        doAddChannelCode:
          api_url + '/admin/account/account-user-channel-code/add',
        doEditChannelCode:
          api_url + '/admin/account/account-user-channel-code/edit',
        doDeleteChannelCode:
          api_url + '/admin/account/account-user-channel-code/delete',
        poster: api_url + '/admin/account/account-user-channel-code/poster',
        getListChannelBring:
          api_url + '/admin/account/account-user-channel-bring/list',
        channelBringExportFile:
          api_url + '/admin/account/account-user-channel-bring/exportFile',
        doEdit: api_url + '/admin/account/account-user-base/edit',
        doEditChannel: api_url + '/admin/account/account-user-channel/edit',
        getListChannel: api_url + '/admin/account/account-user-channel/list',
        getAccounts: api_url + '/admin/account/account-user-base/getAccounts',
        im_config: api_url + '/mobile/sns/im/getImConfig',
        kefu_config: api_url + '/mobile/sns/im/getKefuConfig',
        friend_info_lists: api_url + '/mobile/sns/userFriend/getFriendsInfo',

        zonemsg_lists: api_url + '/mobile/sns/userZoneMessage/list',
        msg_chat_lists: api_url + '/mobile/sns/userMessage/listChatMsg',

        getUserRegTimeline:
          api_url + '/admin/account/accountController/getUserRegTimeline',
        editState: api_url + '/admin/account/accountController/editState',
        getUserDate: api_url + '/admin/account/account-user-base/getUserDate',
      },
      anchor: {
        getList: api_url + '/admin/sns/wxAnchorLive/list',
        editState: api_url + '/admin/sns/wxAnchorLive/editState',
        doDelete: api_url + '/admin/sns/wxAnchorLive/deleteRole',
      },
      level: {
        log: {
          getList: api_url + '/admin/account/account-user-level-log/list',
        },
      },
      info: {
        exportFile: api_url + '/admin/account/account-user-info/exportFile',
        editCertification:
          api_url + '/admin/account/account-user-info/editCertification',
      },
    },
    base: {
      config: {
        getList: api_url + '/admin/account/account-base-config/list',
        smsRecord: api_url + '/admin/account/account-base-config/smsRecord',
        doEdit: api_url + '/admin/account/account-base-config/edit',
        get: api_url + '/admin/account/account-base-config/get',
        languageList:
          api_url + '/admin/account/account-base-config/languageList',
        editLanguage:
          api_url + '/admin/account/account-base-config/editLanguage',
        cleanCache: api_url + '/admin/account/account-base-config/cleanCache',
      },

      user: {
        level: {
          doEdit: api_url + '/admin/account/account-base-user-level/edit',
          getList: api_url + '/admin/account/account-base-user-level/list',
          doDelete: api_url + '/admin/account/account-base-user-level/delete',
        },
      },
    },
  },
  cms: {
    article: {
      base: {
        doDelete: api_url + '/admin/cms/cms-article-base/delete',
        doEdit: api_url + '/admin/cms/cms-article-base/edit',
        getList: api_url + '/admin/cms/cms-article-base/list',
        getExpress: api_url + '/admin/cms/cms-article-base/express',
      },

      comment: {
        doDelete: api_url + '/admin/cms/cms-article-comment/delete',
        doEdit: api_url + '/admin/cms/cms-article-comment/edit',
        getList: api_url + '/admin/cms/cms-article-comment/list',
      },
      tag: {
        doDelete: api_url + '/admin/cms/cms-article-tag/delete',
        getList: api_url + '/admin/cms/cms-article-tag/list',
        doEdit: api_url + '/admin/cms/cms-article-tag/edit',
      },
      category: {
        doDelete: api_url + '/admin/cms/cms-article-category/delete',
        getList: api_url + '/admin/cms/cms-article-category/categoryTree',
        doEdit: api_url + '/admin/cms/cms-article-category/edit',
      },
    },
  },
  edu: {
    lecturer: {
      getList: api_url + '/admin/edu/edu-user-lecturer/list',
      add: api_url + '/admin/edu/edu-user-lecturer/add',
      doDelete: api_url + '/admin/edu/edu-user-lecturer/delete',
      enable: api_url + '/admin/edu/edu-user-lecturer/updateState',
      getLecturerList: api_url + '/admin/edu/edu-user-lecturer/getLecturerList',
      getLecturerInfo: api_url + '/admin/edu/edu-user-lecturer/getLecturerInfo',
    },
    classes: {
      getList: api_url + '/admin/edu/edu-classes-base/list',
      doEdit: api_url + '/admin/edu/edu-classes-base/add',
      doDelete: api_url + '/admin/edu/edu-classes-base/delete',
      editClassState: api_url + '/admin/edu/edu-classes-base/updateClassState',
    },
    classescategory: {
      getList: api_url + '/admin/edu/edu-classes-category/list',
      getChooseList: api_url + '/admin/edu/edu-classes-category/getChooseList',
      add: api_url + '/admin/edu/edu-classes-category/add',
      editState: api_url + '/admin/edu/edu-classes-category/editState',
      doDelete: api_url + '/admin/edu/edu-classes-category/delete',
    },
    claseuser: {
      getList: api_url + '/admin/edu/edu-classes-user/list',
    },
    lecturercategory: {
      getList: api_url + '/admin/edu/edu-lecturer-category/list',
      getChooseTree: api_url + '/admin/edu/edu-lecturer-category/getChooseTree',
      add: api_url + '/admin/edu/edu-lecturer-category/add',
      editState: api_url + '/admin/edu/edu-lecturer-category/editState',
      doDelete: api_url + '/admin/edu/edu-lecturer-category/delete',
    },
    cycle: {
      getList: api_url + '/admin/edu/edu-classes-cycle/list',
      doEdit: api_url + '/admin/edu/edu-classes-cycle/add',
      doDelete: api_url + '/admin/edu/edu-classes-cycle/delete',
    },
    examine: {
      editState: api_url + '/admin/edu/edu-lecturer-examine/editState',
      getList: api_url + '/admin/edu/edu-lecturer-examine/list',
      getHistoryList: api_url + '/admin/edu/edu-lecturer-examine/history',
    },
    template: {
      add: api_url + '/admin/edu/edu-cert-template/add',
      getList: api_url + '/admin/edu/edu-cert-template/list',
      doDelete: api_url + '/admin/edu/edu-cert-template/delete',
    },
    certificate: {
      add: api_url + '/admin/edu/edu-certificate/add',
      getList: api_url + '/admin/edu/edu-certificate/list',
      getExamList: api_url + '/admin/edu/edu-certificate/examList',
      getCycleList: api_url + '/admin/edu/edu-certificate/cycleList',
      doDelete: api_url + '/admin/edu/edu-certificate/delete',
      editState: api_url + '/admin/edu/edu-certificate/editState',
    },
    contract: {
      getList: api_url + '/admin/edu/edu-course-contract/list',
      add: api_url + '/admin/edu/edu-course-contract/add',
      doDelete: api_url + '/admin/edu/edu-course-contract/delete',
    },
    contractcategory: {
      getList: api_url + '/admin/edu/edu-course-contract-category/list',
      getChooseList:
        api_url + '/admin/edu/edu-course-contract-category/getChooseList',
      add: api_url + '/admin/edu/edu-course-contract-category/add',
      editState: api_url + '/admin/edu/edu-course-contract-category/editState',
      doDelete: api_url + '/admin/edu/edu-course-contract-category/delete',
    },
    evaluation: {
      topic: {
        getList: api_url + '/admin/edu/edu-topic-base/list',
        doEdit: api_url + '/admin/edu/edu-topic-base/edit',
        doDelete: api_url + '/admin/edu/edu-topic-base/delete',
        getTopicListByPaperId:
          api_url + '/admin/edu/edu-topic-base/getTopicListByPaperId',
        getTopicTypeAndNum:
          api_url + '/admin/edu/edu-topic-base/getTopicTypeAndNum',
        getTopicListByTypeNum:
          api_url + '/admin/edu/edu-topic-base/getTopicListByTypeNum',
        expTopicTemp: api_url + '/admin/edu/edu-topic-base/expTopicTemp',
        impTopicTemp: api_url + '/admin/edu/edu-topic-base/impTopicTemp',
        category: {
          getList: api_url + '/admin/edu/edu-topic-category/list',
          doEdit: api_url + '/admin/edu/edu-topic-category/edit',
          doDelete: api_url + '/admin/edu/edu-topic-category/delete',
          getCategoryAndTopicNum:
            api_url + '/admin/edu/edu-topic-category/getCategoryAndTopicNum',
        },
      },
      paper: {
        getList: api_url + '/admin/edu/edu-paper-base/list',
        doEdit: api_url + '/admin/edu/edu-paper-base/edit',
        doDelete: api_url + '/admin/edu/edu-paper-base/delete',
        getPaperAndTopics:
          api_url + '/admin/edu/edu-paper-base/getPaperAndTopics',
        category: {
          getList: api_url + '/admin/edu/edu-paper-category/list',
          doEdit: api_url + '/admin/edu/edu-paper-category/edit',
          doDelete: api_url + '/admin/edu/edu-paper-category/delete',
        },
        userPaper: {
          getList: api_url + '/admin/edu/edu-user-paperInfo/list',
          getWorkList: api_url + '/admin/edu/edu-user-paperInfo/getWorkList',
          getWorkDetail:
            api_url + '/admin/edu/edu-user-paperInfo/getWorkDetail',
          doDelete: '/admin/edu/edu-user-paperInfo/delete',
        },
      },
      exam: {
        getList: api_url + '/admin/edu/edu-exam-base/list',
        doEdit: api_url + '/admin/edu/edu-exam-base/edit',
        doDelete: api_url + '/admin/edu/edu-exam-base/delete',
      },
      award: {
        getList: api_url + '/admin/edu/edu-exam-award/list',
        doEdit: api_url + '/admin/edu/edu-exam-award/edit',
        doDelete: api_url + '/admin/edu/edu-exam-award/delete',
      },
    },
    course: {
      course: {
        getList: api_url + '/admin/edu/edu-course-detail/list',
        category: {
          getList: api_url + '/admin/edu/edu-course-category/list',
          getTree: api_url + '/admin/edu/edu-course-category/getTree',
          doEdit: api_url + '/admin/edu/edu-course-category/edit',
          doDelete: api_url + '/admin/edu/edu-course-category/delete',
        },
        chapter: {
          getList: api_url + '/admin/edu/edu-course-chapter/list',
          doEdit: api_url + '/admin/edu/edu-course-chapter/edit',
          doDelete: api_url + '/admin/edu/edu-course-chapter/delete',
        },
      },
    },
  },
  // 商店
  shop: {
    merch: {
      // 商家申请入驻信息分页列表
      merchList: api_url + '/admin/shop/merch/list',
      // 商家申请入驻信息详情
      merchDetail: api_url + '/admin/shop/merch/detail',
      // 审批商家申请入驻
      merchApproval: api_url + '/admin/shop/merch/approval',
      // 发起合同签署
      createByFile: api_url + '/admin/shop/esign/sign-flow/create-by-file',
      //查看商家签署合同
      checkContractFile: api_url + '/admin/shop/esign/signed/contract/file',
      //创建店铺(补偿机制)
      createShop: api_url + '/admin/shop/shop-store-base/mchinfo/to/storeinfo',
      //创建分账(补偿机制)
      createSubAccount: api_url + '/mobile/pay/lakala/ledger/applyLedgerMer',
    },
    activity: {
      lottery: {
        history: {
          doEdit: api_url + '/admin/shop/shop-activity-lottery-history/edit',
        },
      },
      groupbooking: {
        history: {
          getList:
            api_url + '/admin/shop/shop-activity-groupbooking-history/list',
        },
        getList: api_url + '/admin/shop/shop-activity-groupbooking/list',
        doDelete: api_url + '/admin/shop/shop-activity-groupbooking/delete',
      },
      marketing: {
        history: {
          getList: api_url + '/admin/shop/shop-activity-marketing-history/list',
        },
      },
      cutprice: {
        history: {
          getList: api_url + '/admin/shop/shop-activity-cutprice-history/list',
        },
        getList: api_url + '/admin/shop/shop-activity-cutprice/list',
      },
    },
    chain: {
      base: {
        getList: api_url + '/admin/shop/shop-chain-base/list',
        doEdit: api_url + '/admin/shop/shop-chain-base/edit',
        doDelete: api_url + '/admin/shop/shop-chain-base/delete',
      },
      detail: {
        get: api_url + '/admin/shop/shop-chain-detail/get',
        doEdit: api_url + '/admin/shop/shop-chain-detail/edit',
      },
      item: {
        getList: api_url + '/admin/shop/shop-chain-item/list',
        doEdit: api_url + '/admin/shop/shop-chain-item/edit',
      },
      category: {
        getList: api_url + '/admin/shop/shop-chain-category/list',
        getChooseTree:
          api_url + '/admin/shop/shop-chain-category/getChooseTree',
        doEdit: api_url + '/admin/shop/shop-chain-category/edit',
        doDelete: api_url + '/admin/shop/shop-chain-category/delete',
        updateState: api_url + '/admin/shop/shop-chain-category/updateState',
      },
      project: {
        getList: api_url + '/admin/shop/shop-chain-project/list',
        doEdit: api_url + '/admin/shop/shop-chain-project/edit',
        doDelete: api_url + '/admin/shop/shop-chain-project/delete',
        updateState: api_url + '/admin/shop/shop-chain-project/updateState',
      },
      tn: {
        getList: api_url + '/admin/shop/shop-chain-tn/list',
        doEdit: api_url + '/admin/shop/shop-chain-tn/edit',
        doDelete: api_url + '/admin/shop/shop-chain-tn/delete',
      },
      user: {
        getList: api_url + '/admin/shop/shop-chain-user/list',
        doEdit: api_url + '/admin/shop/shop-chain-user/edit',
        doDelete: api_url + '/admin/shop/shop-chain-user/delete',
        editRightGroupIds:
          api_url + '/admin/shop/shop-chain-user/editRightGroupIds',
      },
      rightgroup: {
        getList: api_url + '/admin/shop/shop-chain-user-rights-group/list',
        getRightsBaseTree:
          api_url +
          '/admin/shop/shop-chain-user-rights-group/getRightsBaseTree',
        doEdit: api_url + '/admin/shop/shop-chain-user-rights-group/edit',
      },
    },
    wechat: {
      keyword: {
        getList: api_url + '/admin/shop/shop-wechat-keyword/tree',
        doEdit: api_url + '/admin/shop/shop-wechat-keyword/edit',
        doDelete: api_url + '/admin/shop/shop-wechat-keyword/delete',
      },
      tplmsg: {
        getList: api_url + '/admin/shop/shop-wechat-tplmsg/list',
        doEdit: api_url + '/admin/shop/shop-wechat-tplmsg/edit',
        initMpTmp: api_url + '/admin/shop/shop-wechat-tplmsg/initMpTmp',
      },
      menu: {
        getList: api_url + '/admin/shop/shop-wechat-menu/tree',
        doEdit: api_url + '/admin/shop/shop-wechat-menu/edit',
        doDelete: api_url + '/admin/shop/shop-wechat-menu/delete',
      },
    },
    message: {
      template: {
        doDelete: api_url + '/admin/shop/shop-message-template/delete',
        doEdit: api_url + '/admin/shop/shop-message-template/edit',
        getList: api_url + '/admin/shop/shop-message-template/list',
      },
    },
    paotui: {
      order: {
        info: {
          doDelete: api_url + '/admin/shop/city-paotui-orde-info/delete',
          getList: api_url + '/admin/shop/city-paotui-orde-info/list',
          doEdit: api_url + '/admin/shop/city-paotui-orde-info/edit',
        },
        base: {
          list: api_url + '/admin/shop/city-paotui-order-base/list',
        },
      },
    },
    purchase: {
      order: {
        base: {
          doDelete: api_url + '/admin/shop/hall-purchase-order-base/delete',
          getList: api_url + '/admin/shop/hall-purchase-order-base/list',
          getSupplyOrderList:
            api_url + '/admin/shop/hall-purchase-order-base/getSupplyOrderList',
          doEdit: api_url + '/admin/shop/hall-purchase-order-base/edit',
        },
      },
    },
    distribution: {
      user: {
        doEdit: api_url + '/admin/shop/shop-distribution-user/edit',
        enable: api_url + '/admin/shop/shop-distribution-user/enable',
        add: api_url + '/admin/shop/shop-distribution-user/add',
        getList: api_url + '/admin/shop/shop-distribution-user/list',
        order: {
          getList: api_url + '/admin/shop/shop-distribution-user-order/list',
        },
        withdraw: {
          getList: api_url + '/admin/shop/shop-distribution-user-withdraw/list',
          doEdit: api_url + '/admin/shop/shop-distribution-user-withdraw/edit',
        },
      },
    },
    base: {
      currency: {
        getList: api_url + '/admin/shop/shop-base-currency/list',
        doEdit: api_url + '/admin/shop/shop-base-currency/edit',
        doDelete: api_url + '/admin/shop/shop-base-currency/delete',
      },
      district: {
        getList: api_url + '/admin/shop/shop-base-district/list',
        doEdit: api_url + '/admin/shop/shop-base-district/edit',
        doDelete: api_url + '/admin/shop/shop-base-district/delete',
      },
      contract: {
        type: {
          getList: api_url + '/admin/shop/shop-base-contract-type/list',
          doEdit: api_url + '/admin/shop/shop-base-contract-type/edit',
          doDelete: api_url + '/admin/shop/shop-base-contract-type/delete',
          List: api_url + '/admin/shop/shop-base-contract-type/get',
        },
      },
      crontab: {
        getList: api_url + '/admin/shop/shop-base-crontab/list',
        doEdit: api_url + '/admin/shop/shop-base-crontab/edit',
        doDelete: api_url + '/admin/shop/shop-base-crontab/delete',
        jobClassNames:
          api_url + '/admin/shop/shop-base-crontab/getJobClassNames',
      },
      userformpage: {
        getList: api_url + '/admin/shop/shop-page-base/listPageUserFrom',
      },
      express: {
        getList: api_url + '/admin/shop/shop-base-express/list',
        doEdit: api_url + '/admin/shop/shop-base-express/edit',
        doDelete: api_url + '/admin/shop/shop-base-express/delete',
        getExpressList:
          api_url + '/admin/shop/shop-base-express/getExpressList',
      },
      live: {
        getApproved: api_url + '/admin/sns/wxLive/getApproved',
        onsale: api_url + '/admin/sns/wxLive/onsale',
        addGood: api_url + '/admin/sns/wxLive/addGood',
        updateGood: api_url + '/admin/sns/wxLive/updateGood',
        deleteGood: api_url + '/admin/sns/wxLive/deleteGood',
      },
      product: {
        unit: {
          doDelete: api_url + '/admin/shop/shop-base-product-unit/delete',
          doEdit: api_url + '/admin/shop/shop-base-product-unit/edit',
          getList: api_url + '/admin/shop/shop-base-product-unit/list',
          getDriveList: api_url + '/admin/shop/shop-product-driver-model/list',
          getOrderFormList: api_url + '/admin/shop/shop-order-user-form/list',
          doDeletes: api_url + '/admin/shop/shop-product-driver-model/delete',
          doDeleteForm: api_url + '/admin/shop/shop-order-user-form/delete',
          getDriveLists:
            api_url + '/admin/shop/shop-product-driver-model/lists',
          editDrive: api_url + '/admin/shop/shop-product-driver-model/edit',
        },
        brand: {
          getList: api_url + '/admin/shop/shop-base-product-brand/list',
          getBrands: api_url + '/admin/shop/shop-base-product-brand/brands',
          doEdit: api_url + '/admin/shop/shop-base-product-brand/edit',
          enable: api_url + '/admin/shop/shop-base-product-brand/enable',
          doDelete: api_url + '/admin/shop/shop-base-product-brand/delete',
          getBrandMap: api_url + '/admin/shop/shop-base-product-brand/brandMap',
          getBrandS: api_url + '/admin/shop/shop-base-product-brand/getBrandS',
        },
        spec: {
          getList: api_url + '/admin/shop/shop-base-product-spec/list',
          doEdit: api_url + '/admin/shop/shop-base-product-spec/edit',
          doDelete: api_url + '/admin/shop/shop-base-product-spec/delete',
          getSpecMap: api_url + '/admin/shop/shop-base-product-spec/specMap',
        },
        category: {
          categoryTree:
            api_url + '/admin/shop/shop-base-product-category/categoryTree',
          doEdit: api_url + '/admin/shop/shop-base-product-category/edit',
          doDelete: api_url + '/admin/shop/shop-base-product-category/delete',
          get: api_url + '/admin/shop/shop-base-product-category/get',
          getTree: api_url + '/admin/shop/shop-base-product-category/tree',
          getList: api_url + '/admin/shop/shop-base-product-category/list',
          mobile: {
            getList:
              api_url + '/admin/shop/shop-base-product-category-mobile/list',
            doEdit:
              api_url + '/admin/shop/shop-base-product-category-mobile/edit',
            editState:
              api_url +
              '/admin/shop/shop-base-product-category-mobile/editState',
            doDelete:
              api_url + '/admin/shop/shop-base-product-category-mobile/delete',
          },
          nav: {
            getList:
              api_url + '/admin/shop/shop-base-product-category-nav/list',
            doEdit: api_url + '/admin/shop/shop-base-product-category-nav/edit',
            doDelete:
              api_url + '/admin/shop/shop-base-product-category-nav/delete',
          },
        },
        type: {
          get: api_url + '/admin/shop/shop-base-product-type/get',
          getLists: api_url + '/admin/shop/shop-base-product-type/lists',
          getListS: api_url + '/admin/shop/shop-base-product-type/getLists',
          getList: api_url + '/admin/shop/shop-base-product-type/list',
          doEdit: api_url + '/admin/shop/shop-base-product-type/edit',
          doDelete: api_url + '/admin/shop/shop-base-product-type/delete',
          doEdits: api_url + '/admin/shop/shop-base-product-assist/edits',
          delAssist: api_url + '/admin/shop/shop-base-product-assist/delete',
          delAssistItem:
            api_url + '/admin/shop/shop-base-product-assist-item/delete',
        },
        assist: {
          getAssist: api_url + '/admin/shop/shop-base-product-assist/assists',
        },
        tag: {
          tags: api_url + '/admin/shop/shop-base-product-tag/tags',
        },
      },
      store: {
        grade: {
          doEdit: api_url + '/admin/shop/shop-base-store-grade/edit',
          getList: api_url + '/admin/shop/shop-base-store-grade/list',
          doDelete: api_url + '/admin/shop/shop-base-store-grade/delete',
        },
        category: {
          getTree:
            api_url + '/admin/shop/shop-base-store-category/categoryTree',
          tree: api_url + '/shop/shop-base-store-category/categoryTree',
          doDelete: api_url + '/admin/shop/shop-base-store-category/delete',
          doEdit: api_url + '/admin/shop/shop-base-store-category/edit',
          GetStoreClassify:
            api_url + '/admin/shop/shop-base-store-category/getStoreClassify',
          categoryList: api_url + '/mobile/shop/shop-base-store-category/list',
        },
      },
      market: {
        category: {
          getTree:
            api_url + '/admin/shop/shop-base-market-category/categoryTree',
          doEdit: api_url + '/admin/shop/shop-base-market-category/edit',
          doDelete: api_url + '/admin/shop/shop-base-market-category/delete',
        },
      },
      lang: {
        standard: {
          doEdit: api_url + '/admin/shop/shop-base-lang-standard/edit',
          getList: api_url + '/admin/shop/shop-base-lang-standard/list',
          doDelete: api_url + '/admin/shop/shop-base-lang-standard/delete',
        },
        meta: {
          doEdit: api_url + '/admin/shop/shop-base-lang-meta/edit',
          getList: api_url + '/admin/shop/shop-base-lang-meta/list',
          doDelete: api_url + '/admin/shop/shop-base-lang-meta/delete',
        },
      },
      help: {
        config: {
          savePcHelp: api_url + '/admin/shop/shop-base-help-config/savePcHelp',
          getPcHelp: api_url + '/admin/shop/shop-base-help-config/getPcHelp',
        },
      },
      site: {
        nav: {
          getList: api_url + '/admin/shop/shop-base-site-nav/list',
          doEdit: api_url + '/admin/shop/shop-base-site-nav/edit',
          doDelete: api_url + '/admin/shop/shop-base-site-nav/delete',
        },
      },
    },
    product: {
      index: {
        getProductAddDate:
          api_url + '/admin/shop/shop-product-index/getProductAddDate',
      },
      base: {
        getList: api_url + '/admin/shop/shop-product-base/list',
        close: api_url + '/admin/shop/shop-product-base/close',
        doEdit: api_url + '/admin/shop/shop-product-base/edit',
        enable: api_url + '/admin/shop/shop-product-base/enable',
        doDelete: api_url + '/admin/shop/shop-product-base/delete',
        editFiled: api_url + '/admin/shop/shop-product-base/editFiled',
        addDistProduct:
          api_url + '/admin/shop/shop-product-base/addDistProduct',
        addBatchDistProduct:
          api_url + '/admin/shop/shop-product-base/addBatchDistProduct',
        editState: api_url + '/admin/shop/shop-product-base/editState',
        saveProduct: api_url + '/admin/shop/shop-product-base/saveProduct',
        getxfz: api_url + '/admin/shop/shop-base-contract-type/list',
        verify: api_url + '/admin/shop/shop-product-base/verify',
        saveCourse: api_url + '/admin/shop/shop-product-base/saveCourse',
        getCourseList: api_url + '/admin/shop/shop-product-base/getCourseList',
        removeCourse: api_url + '/admin/shop/shop-product-base/removeCourse',
        expProductTemp:
          api_url + '/admin/shop/shop-product-base/expProductTemp',
        impProductTemp:
          api_url + '/admin/shop/shop-product-base/impProductTemp',
        exportFile: api_url + '/admin/shop/shop-product-base/exportFile',
      },
      ask: {
        base: {
          getList: api_url + '/admin/shop/shop-product-ask-base/list',
          doEdit: api_url + '/admin/shop/shop-product-ask-base/edit',
          doDelete: api_url + '/admin/shop/shop-product-ask-base/delete',
        },
      },
      comment: {
        getList: api_url + '/admin/shop/shop-product-comment/list',
        doEdit: api_url + '/admin/shop/shop-product-comment/edit',
        doDelete: api_url + '/admin/shop/shop-product-comment/delete',
        enable: api_url + '/admin/shop/shop-product-comment/enable',

        reply: {
          list: api_url + '/admin/shop/shop-product-comment-reply/list',
          listCommentReply:
            '/admin/shop/shop-product-comment-reply/listCommentReply',
          edit: api_url + '/admin/shop/shop-product-comment-reply/edit',
        },
      },
      spec: {
        item: {
          getList: api_url + '/admin/shop/shop-product-spec-item/specItems',
          doEdit: api_url + '/admin/shop/shop-product-spec-item/edit',
          doDelete: api_url + '/admin/shop/shop-product-spec-item/delete',
        },
      },
      pricing: {
        policy: {
          level: {
            doEdit:
              api_url + '/admin/shop/shop-product-pricing-policy-level/edit',
            getList:
              api_url + '/admin/shop/shop-product-pricing-policy-level/list',
          },
          wholesale: {
            doEdit:
              api_url +
              '/admin/shop/shop-product-pricing-policy-wholesale/edit',
            revisesTrategyPrice:
              api_url +
              '/admin/shop/shop-product-pricing-policy-wholesale/revisesTrategyPrice',
            getList:
              api_url +
              '/admin/shop/shop-product-pricing-policy-wholesale/list',
            editDiscountRate:
              '/admin/shop/shop-product-pricing-policy-wholesale/editDiscountRate',
          },
        },
      },
      info: {
        productInfoByPid:
          api_url + '/admin/shop/shop-product-info/productInfoByPid',
      },
      item: {
        getList: api_url + '/admin/shop/shop-product-item/list',
        doEdit: api_url + '/admin/shop/shop-product-item/edit',
        getItemListByPid: api_url + '/admin/shop/shop-product-item/items',
      },
    },
    store: {
      contract: {
        get: api_url + '/admin/shop/shop-store-contract/get',
        getList: api_url + '/admin/shop/shop-store-contract/list',
        doEdit: api_url + '/admin/shop/shop-store-contract/edit',
      },
      business: {
        category: {
          getList: api_url + '/admin/shop/shop-store-business-category/list',
          doEdit: api_url + '/admin/shop/shop-store-business-category/edit',
          doCategoryDelete:
            api_url + '/admin/shop/shop-store-business-category/delete',
        },
      },
      employee: {
        department: {
          getList:
            api_url + '/admin/shop/shop-store-employee-department/categoryTree',
          doEdit: api_url + '/admin/shop/shop-store-employee-department/edit',
          doDelete:
            api_url + '/admin/shop/shop-store-employee-department/delete',
        },
        list: api_url + '/admin/shop/shop-store-employee/list',
        doEdit: api_url + '/admin/shop/shop-store-employee/edit',
        doDelete: api_url + '/admin/shop/shop-store-employee/delete',
        saveOrUpdateEmployee:
          api_url + '/admin/shop/shop-store-employee/saveOrUpdateEmployee',
        rights: {
          group: {
            doEdit:
              api_url + '/admin/shop/shop-store-employee-rights-group/edit',
            doDelete:
              api_url + '/admin/shop/shop-store-employee-rights-group/delete',
            getList:
              api_url + '/admin/shop/shop-store-employee-rights-group/list',
          },
          base: {
            getList:
              api_url + '/admin/shop/shop-store-employee-rights-base/list',
            getRightsBaseTree:
              api_url +
              '/admin/shop/shop-store-employee-rights-base/getRightsBaseTree',
          },
        },
      },
      company: {
        //商家端-公司信息
        get: api_url + '/admin/shop/shop-store-company/get',
        //商家端-编辑公司信息
        doEdit: api_url + '/admin/shop/shop-store-company/edit',
      },
      info: {
        getList: api_url + '/admin/shop/shop-store-info/listBystoreId',
        getListinfo: api_url + '/admin/shop/shop-store-info/list',
        doEdit: api_url + '/admin/shop/shop-store-info/edit',
        doDelete: api_url + '/admin/shop/shop-store-info/delete',
      },
      express: {
        logistics: {
          doEdit: api_url + '/admin/shop/shop-store-express-logistics/edit',
          enable: api_url + '/admin/shop/shop-store-express-logistics/enable',
          getList: api_url + '/admin/shop/shop-store-express-logistics/list',
          doDelete: api_url + '/admin/shop/shop-store-express-logistics/delete',
          getExpressList:
            api_url + '/admin/shop/shop-store-express-logistics/getExpressList',
        },
      },
      base: {
        doEdit: api_url + '/admin/shop/shop-store-base/edit',
        editInfo: api_url + '/admin/shop/shop-store-base/editInfo',
        editStoreInfo: api_url + '/admin/shop/shop-store-base/editStoreInfo',
        storeVerify: api_url + '/admin/shop/shop-store-base/storeVerify',
        enable: api_url + '/admin/shop/shop-store-base/enable',
        getList: api_url + '/admin/shop/shop-store-base/list',
        doDelete: api_url + '/admin/shop/shop-store-base/delete',
        storeSetUp: api_url + '/admin/shop/shop-store-base/storeSetUp',
        statisticState: api_url + '/admin/shop/shop-store-base/statisticState',
        getBaseStoreId: api_url + '/admin/shop/shop-store-base/getBaseStoreId',
        FindStoreLevel: api_url + '/admin/shop/shop-store-base/getGrade',
        //商家端-获取门店信息
        get: api_url + '/admin/shop/shop-store-base/get',
        exportFile: api_url + '/admin/shop/shop-store-base/exportFile',
      },
      activity: {
        base: {
          getList: api_url + '/admin/shop/shop-store-activity-base/list',
          addActivityBuyItems:
            api_url +
            '/admin/shop/shop-store-activity-base/addActivityBuyItems',
          getActivityBuyItems:
            api_url +
            '/admin/shop/shop-store-activity-base/getActivityBuyItems',
          listReductionRule:
            api_url + '/admin/shop/shop-store-activity-base/listReductionRule',
          listItem: api_url + '/admin/shop/shop-store-activity-base/listItem',
          getListBarginRule:
            api_url + '/admin/shop/shop-store-activity-base/listBarginRule',
          doEdit: api_url + '/admin/shop/shop-store-activity-base/edit',
          Update: api_url + '/admin/shop/shop-store-activity-base/update',
          saveLotteryItem:
            api_url + '/admin/shop/shop-store-activity-base/saveLotteryItem',
          doDelete: api_url + '/admin/shop/shop-store-activity-base/delete',
          doCodeCreate:
            api_url + '/admin/shop/shop-store-activity-code/createCode',
          getCodeList: api_url + '/admin/shop/shop-store-activity-code/list',
          exportFile:
            api_url + '/admin/shop/shop-store-activity-code/exportFile',
          doCodeDelete: api_url + '/admin/shop/shop-store-activity-code/delete',
          getListsLotteryItems:
            api_url + '/admin/shop/shop-store-activity-base/listsLotteryItems',
          addItem: api_url + '/admin/shop/shop-store-activity-base/addItem',
          getCouponsList:
            api_url + '/admin/shop/shop-store-activity-base/getCouponsList',
          getActivityLotteryHistorys:
            api_url +
            '/admin/shop/shop-store-activity-base/getActivityLotteryHistorys',
          editState: api_url + '/admin/shop/shop-store-activity-base/editState',
          removeItem:
            api_url + '/admin/shop/shop-store-activity-base/removeItem',
          removeLotteryItem:
            api_url + '/admin/shop/shop-store-activity-base/removeLotteryItem',
          addRule: api_url + '/admin/shop/shop-store-activity-base/addRule',
          //保存单件折折扣率
          cellRateEdit:
            api_url + '/admin/shop/shop-store-activity-base/cellRateEdit',
          cellPriceQuantityEdit:
            api_url +
            '/admin/shop/shop-store-activity-base/cellPriceQuantityEdit',
          cellEditRule:
            api_url + '/admin/shop/shop-store-activity-base/cellEditRule',
          //多倍积分
          cellEditDoubleRule:
            api_url + '/admin/shop/shop-store-activity-base/cellEditDoubleRule',
          cellEditReplace:
            api_url + '/admin/shop/shop-store-activity-base/cellEditReplace',
          cellEdit: api_url + '/admin/shop/shop-store-activity-base/cellEdit',
          removeRule:
            api_url + '/admin/shop/shop-store-activity-base/removeRule',
          listBarginItem:
            api_url + '/admin/shop/shop-store-activity-base/listBarginItem',
          removeActivityBuyItems:
            api_url +
            '/admin/shop/shop-store-activity-base/removeActivityBuyItems',
        },
      },
      transport: {
        item: {
          list: api_url + '/admin/shop/shop-store-transport-item/list',
          del: api_url + '/admin/shop/shop-store-transport-item/delete',
          edit: api_url + '/admin/shop/shop-store-transport-item/edit',
        },

        type: {
          transports:
            api_url + '/admin/shop/shop-store-transport-type/transports',
          getList: api_url + '/admin/shop/shop-store-transport-type/list',
          doEdit: api_url + '/admin/shop/shop-store-transport-type/edit',
          doDelete: api_url + '/admin/shop/shop-store-transport-type/delete',
        },
      },
      media: {
        doEdit: api_url + '/admin/shop/shop-store-media/edit',
        getList: api_url + '/admin/shop/shop-store-media/list',
        doDelete: api_url + '/admin/shop/shop-store-media/delete',
        batchSaveMedia: api_url + '/admin/shop/shop-store-media/batchSaveMedia',
        gallery: {
          doEdit: api_url + '/admin/shop/shop-store-media-gallery/edit',
          getList: api_url + '/admin/shop/shop-store-media-gallery/list',
          doDelete: api_url + '/admin/shop/shop-store-media-gallery/delete',
          galleries: api_url + '/admin/shop/shop-store-media-gallery/galleries',
        },
      },
      config: {
        edit: api_url + '/admin/shop/shop-store-config/edit',
        get: api_url + '/admin/shop/shop-store-config/get',
        getConfig: api_url + '/admin/shop/shop-store-config/getConfig',
      },
      shipping: {
        address: {
          list: api_url + '/admin/shop/shop-store-shipping-address/list',
          getAddressList:
            api_url + '/admin/shop/shop-store-shipping-address/getAddressList',
          edit: api_url + '/admin/shop/shop-store-shipping-address/edit',
          del: api_url + '/admin/shop/shop-store-shipping-address/delete',
        },
      },
      product: {
        category: {
          tree:
            api_url + '/admin/shop/shop-store-product-category/categoryTree',
          del: api_url + '/admin/shop/shop-store-product-category/delete',
          enable: api_url + '/admin/shop/shop-store-product-category/enable',
          edit: api_url + '/admin/shop/shop-store-product-category/edit',
          getStoreCategoryTree:
            api_url +
            '/admin/shop/shop-store-product-category/getStoreCategoryTree',
        },
        tag: {
          list: api_url + '/admin/shop/shop-store-product-tag/list',
          edit: api_url + '/admin/shop/shop-store-product-tag/edit',
          del: api_url + '/admin/shop/shop-store-product-tag/del',
        },
      },
      printer: {
        //总后台-获取小票机品牌列表
        getReceiptMachineList: api_url + '/admin/shop/store/printer/model/page',
        addReceiptMachine: api_url + '/admin/shop/store/printer/model/add/new',
        delectReceiptMachine:
          api_url + '/admin/shop/store/printer/model/delete',
        updateReceiptMachine:
          api_url + '/admin/shop/store/printer/model/update',
        //商家端-获取打印机列表
        getPrinterList: api_url + '/admin/shop/store/printer/page',
        //商家端-获取打印机详情
        getPrinterDetail: api_url + '/admin/shop/store/printer/detail',
        //商家端-获取打印机品牌下拉列表
        getPrinterModelList: api_url + '/admin/shop/store/printer/model/list',
        //商家端-获取打印机区域列表
        getPrinterflagList: api_url + '/admin/shop/store/printer/region/list',
        addPrinter: api_url + '/admin/shop/store/printer/add/new',
        delectPrinter: api_url + '/admin/shop/store/printer/delete',
        //商家端-更新打印机信息
        updatePrinterInfo: api_url + '/admin/shop/store/printer/update',
        //商家端-更新打印机状态
        updatePrnterStatus: api_url + '/admin/shop/store/printer/status/update',
        //商家端-测试打印
        testPrinter: api_url + '/admin/shop/store/printer/print/order',
      },
      sameCityTransport: {
        getSameCityTransport:
          api_url + '/admin/shop/store/same-city-transport/detail',
        saveSameCityTransport:
          api_url + '/admin/shop/store/same-city-transport/save',
        delectArea:
          api_url + '/admin/shop/store/same-city-transport/delete/area',
        getSFTypeList: api_url + '/admin/shop/shop-store-base/business/list',
      },
    },
    user: {
      delivery: {
        address: {
          //获取用户地址列表
          getList: api_url + '/admin/shop/shop-user-delivery-address/list',
          //编辑用户信息
          doEdit: api_url + '/admin/shop/shop-user-delivery-address/edit',
          getAddressList:
            api_url + '/admin/shop/shop-user-delivery-address/getAddressList',
        },
      },
      service: {
        message: {
          getList: api_url + '/admin/shop/shop-user-service-message/list',
          doEdit: api_url + '/admin/shop/shop-user-service-message/edit',
          doDelete: api_url + '/admin/shop/shop-user-service-message/delete',
        },
      },
      points: {
        history: {
          doEdit: api_url + '/admin/shop/shop-user-points-history/edit',
          getList: api_url + '/admin/shop/shop-user-points-history/list',
        },
      },
      voucher: {
        record: {
          getList: api_url + '/admin/shop/shop-user-voucher/list',
        },
      },
    },
    order: {
      info: {
        getList: api_url + '/admin/shop/shop-order-item/listOrderItem',
        // 商家端-index 主页 展示首页数据
        dashboard: api_url + '/admin/shop/shop-order-info/dashboard',
        adminDashboard: api_url + '/admin/shop/shop-order-info/adminDashboard',
      },
      purchaseInvoice: {
        expPurchaseInvoiceTemp:
          api_url + '/admin/shop/shop-purchase-invoice/expPurchaseInvoiceTemp',
        impPurchaseInvoiceTemp:
          api_url + '/admin/shop/shop-purchase-invoice/impPurchaseInvoiceTemp',
        getList: api_url + '/admin/shop/shop-purchase-invoice/list',
      },
      comment: {
        getList: api_url + '/admin/shop/shop-order-comment/list',
      },
      base: {
        //商家端-财务审核
        reviewFinance: api_url + '/admin/shop/shop-order-base/reviewFinance',
        //发货确认
        reviewShipping: api_url + '/admin/shop/shop-order-base/reviewShipping',
        //商家端-出库确认
        reviewPicking: api_url + '/admin/shop/shop-order-base/reviewPicking',
        //商家端-查询订单信息列表
        getList: api_url + '/admin/shop/shop-order-base/list',
        transferToSupplier:
          api_url + '/admin/shop/shop-order-base/transferToSupplier',
        getOrderNumTimeline:
          api_url + '/admin/shop/shop-order-base/getOrderNumTimeline',
        getPaymentDate: api_url + '/admin/shop/shop-order-base/getPaymentDate',
        orderInfo: api_url + '/admin/shop/shop-order-base/orderInfo',
        //商家端-订单基础状态
        statisticState: api_url + '/admin/shop/shop-order-base/statisticState',
        //商家端-客户统计趋势图
        getCustomerTimeline:
          api_url + '/admin/shop/shop-order-base/getCustomerTimeline',
        //商家端-订单销售趋势图
        statisticCount: api_url + '/admin/shop/shop-order-base/statisticCount',
        //商家端-订单成交金额趋势图
        statisticAmount:
          api_url + '/admin/shop/shop-order-base/statisticAmount',
        getOrderDetail: api_url + '/admin/shop/shop-order-base/getOrderDetail',
        getOrderStock: api_url + '/admin/shop/shop-order-base/getOrderStock',
        getCustomerDate:
          api_url + '/admin/shop/shop-order-base/getCustomerDate',
        cancel: api_url + '/admin/shop/shop-order-base/cancel',
        receive: api_url + '/admin/shop/shop-order-base/receive',
        listStateLog: api_url + '/admin/shop/shop-order-base/listStateLog',
        //商家端-订单审核
        review: api_url + '/admin/shop/shop-order-base/review',
        settlemented: api_url + '/admin/shop/shop-order-base/settlemented',
        // 商家端代客下单
        add: api_url + '/admin/shop/shop-order-base/add',
        picking: api_url + '/admin/shop/shop-order-base/picking',
        checkPicking: api_url + '/admin/shop/shop-order-base/checkPicking',
        exportFile: api_url + '/admin/shop/shop-order-base/exportFile',
        editFee: api_url + '/admin/shop/shop-order-base/editFee',
        doUpdateOrders: api_url + '/admin/shop/shop-order-base/doUpdateOrders',
      },
      return: {
        getList: api_url + '/admin/shop/shop-order-return/list',
        get: api_url + '/admin/shop/shop-order-return/get',
        review: api_url + '/admin/shop/shop-order-return/review',
        refused: api_url + '/admin/shop/shop-order-return/refused',
        receive: api_url + '/admin/shop/shop-order-return/receive',
        refund: api_url + '/admin/shop/shop-order-return/refund',
        returnlogistics: api_url + '/mobile/shop/logistics/returnlogistics',
        //商家端-订单返回静止状态
        statisticState:
          api_url + '/admin/shop/shop-order-return/statisticState',
        //商家端-退单销售趋势图
        statisticCount:
          api_url + '/admin/shop/shop-order-return/statisticCount',
        exportFile: api_url + '/admin/shop/shop-order-return/exportFile',
        exportFileByIds:
          api_url + '/admin/shop/shop-order-return/exportFileByIds',
        doForceRefund: api_url + '/admin/shop/shop-order-return/doForceRefund',
        editRefund: api_url + '/admin/shop/shop-order-return/editRefund',
        transferToSupplier:
          api_url + '/admin/shop/shop-order-return/transferToSupplier',
        doUpdateReturns:
          api_url + '/admin/shop/shop-order-return/doUpdateReturns',
        item: {
          getItems: api_url + '/admin/shop/shop-order-return-item/items',
        },
      },
      invoice: {
        doEdit: api_url + '/admin/shop/shop-order-invoice/edit',
        doEdits: api_url + '/admin/shop/shop-order-invoice/edits',
        getList: api_url + '/admin/shop/shop-order-invoice/list',
      },
      state: {
        log: {
          stateLogs: api_url + '/admin/shop/shop-order-state-log/stateLogs',
        },
      },
      item: {
        listOrderByItemId:
          api_url + '/admin/shop/shop-order-item/listOrderByItemId',
      },
      logistics: {
        saveOrderLogistics:
          api_url + '/admin/shop/shop-order-logistics/saveOrderLogistics',
      },
      chain: {
        code: {
          // 查询提货码/服务码
          pickUpCode:
            api_url + '/admin/shop/shop-order-chain-code/getOrderByPickUpCode',
          doPickUp: api_url + '/admin/shop/shop-order-chain-code/doPickUp',
        },
      },
    },
    page: {
      app: {
        doEdit: api_url + '/admin/shop/shop-page-app/edit',
        getList: api_url + '/admin/shop/shop-page-app/list',
        editApp: api_url + '/admin/shop/shop-page-app/editApp',
        setThemes: api_url + '/admin/shop/shop-page-app/setThemes',
        manage: api_url + '/admin/shop/shop-page-base/list',
      },
      base: {
        doEdit: api_url + '/admin/shop/shop-page-base/edit',
        getList: api_url + '/admin/shop/shop-page-base/list',
        doDelete: api_url + '/admin/shop/shop-page-base/remove',
        doAdd: api_url + '/admin/shop/shop-page-base/add',
        enable: api_url + '/admin/shop/shop-page-base/enable',
      },
    },
    plantform: {
      subsite: {
        getList: api_url + '/admin/shop/shop-plantform-subsite/list',
        doEdit: api_url + '/admin/shop/shop-plantform-subsite/edit',
        doDelete: api_url + '/admin/shop/shop-plantform-subsite/delete',
      },
      activity: {
        item: {
          getList: api_url + '/admin/shop/shop-plantform-activity-item/list',
          doEdit: api_url + '/admin/shop/shop-plantform-activity-item/edit',
          doDelete: api_url + '/admin/shop/shop-plantform-activity-item/delete',
          review: api_url + '/admin/shop/shop-plantform-activity-item/review',
        },
        getList: api_url + '/admin/shop/shop-plantform-activity/list',
        doEdit: api_url + '/admin/shop/shop-plantform-activity/edit',
        doDelete: api_url + '/admin/shop/shop-plantform-activity/delete',
      },
      feedback: {
        type: {
          getList: api_url + '/admin/shop/shop-plantform-feedback-type/list',
          doEdit: api_url + '/admin/shop/shop-plantform-feedback-type/edit',
          doDelete: api_url + '/admin/shop/shop-plantform-feedback-type/delete',
        },
        category: {
          getList:
            api_url + '/admin/shop/shop-plantform-feedback-category/list',
          doEdit: api_url + '/admin/shop/shop-plantform-feedback-category/edit',
          doDelete:
            api_url + '/admin/shop/shop-plantform-feedback-category/delete',
          ListType:
            api_url + '/admin/shop/shop-plantform-feedback-category/listType',
        },
        doEdit: api_url + '/admin/shop/shop_plantform_feedback/edit',
        getList: api_url + '/admin/shop/shop_plantform_feedback/list',
        doDelete: api_url + '/admin/shop/shop_plantform_feedback/delete',
      },
    },
    analytics: {
      access: {
        history: {
          getAccessOs:
            api_url + '/admin/shop/analytics-access-history/getAccessOs',
          getAccessBrowser:
            api_url + '/admin/shop/analytics-access-history/getAccessBrowser',
          getAccessCountry:
            api_url + '/admin/shop/analytics-access-history/getAccessCountry',
          getAccessDevice:
            api_url + '/admin/shop/analytics-access-history/getAccessDevice',
          getAccessProvince:
            api_url + '/admin/shop/analytics-access-history/getAccessProvince',
        },
      },
    },
  },
  sns: {
    base: {
      filter: {
        keyword: {
          getList: api_url + '/admin/sns/sns-base-filter-keyword/list',
          doEdit: api_url + '/admin/sns/sns-base-filter-keyword/edit',
          doDelete: api_url + '/admin/sns/sns-base-filter-keyword/delete',
        },
      },
    },
    live: {
      user: {
        room: {
          doEdit: api_url + '/admin/sns/live-user-room/edit',
          getList: api_url + '/admin/sns/live-user-room/list',
        },

        history: {
          doEdit: api_url + '/admin/sns/live-user-history/edit',
          getList: api_url + '/admin/sns/live-user-history/list',
        },
      },
      live: {
        tag: {
          getList: api_url + '/admin/sns/live-live-tag/list',
          doEdit: api_url + '/admin/sns/live-live-tag/edit',
          doDelete: api_url + '/admin/sns/live-live-tag/delete',
        },
      },
    },
    user: {
      message: {
        doDelete: api_url + '/admin/sns/sns-user-message/delete',
        doEdit: api_url + '/admin/sns/sns-user-message/edit',
        getList: api_url + '/admin/sns/sns-user-message/list',
      },
    },

    story: {
      category: {
        doDelete: api_url + '/admin/sns/sns-story-category/delete',
        doEdit: api_url + '/admin/sns/sns-story-category/edit',
        getList: api_url + '/admin/sns/sns-story-category/categoryTree',
      },
      comment: {
        doDelete: api_url + '/admin/sns/sns-story-comment/delete',
        doEdit: api_url + '/admin/sns/sns-story-comment/edit',
        getList: api_url + '/admin/sns/sns-story-comment/list',
      },
      base: {
        doDelete: api_url + '/admin/sns/sns-story-base/delete',
        doEdit: api_url + '/admin/sns/sns-story-base/edit',
        getList: api_url + '/admin/sns/sns-story-base/list',
      },
      advertisement: {
        doDelete: api_url + '/admin/sns/sns-story-advertisement/delete',
        doEdit: api_url + '/admin/sns/sns-story-advertisement/edit',
        getList: api_url + '/admin/sns/sns-story-advertisement/list',
      },
    },
  },
  admin: {
    rights: {
      base: {
        getTree: api_url + '/admin/admin/admin-rights-base/tree',
      },
      group: {
        doEdit: api_url + '/admin/admin/admin-rights-group/edit',
        getList: api_url + '/admin/admin/admin-rights-group/list',
        doDelete: api_url + '/admin/admin/admin-rights-group/delete',
        getRoles: api_url + '/admin/admin/admin-rights-group/roles',
      },
    },
    log: {
      action: {
        getList: api_url + '/admin/admin/admin-log-action/list',
      },
      error: {
        getList: api_url + '/admin/admin/admin-log-error/list',
      },
    },
    printer: {},
  },
  order: {
    add: api_url + '/order/add',
    edit: api_url + '/order/edit',
    remove: api_url + '/order/remove',
    enable: api_url + '/order/enable',
    lists: api_url + '/order/lists',
    tree: api_url + '/order/tree',
    get: api_url + '/order/get',

    manage: api_url + '/order/manage',
    operate: api_url + '/order/operate',
    cellEdit: api_url + '/order/cellEdit',
    ipt: api_url + '/order/import',
    ept: api_url + '/order/export',
    detail: api_url + '/order/detail',
  },
  pay: {
    payment: {
      channel: {
        getList: api_url + '/admin/pay/pay-payment-channel/list',
        doEdit: api_url + '/admin/pay/pay-payment-channel/edit',
        doDelete: api_url + '/admin/pay/pay-payment-channel/delete',
      },
    },
    user: {
      resource: {
        doEdit: api_url + '/admin/pay/pay-user-resource/edit',
        enable: api_url + '/admin/pay/pay-user-resource/enable',
        getList: api_url + '/admin/pay/pay-user-resource/list',
        doAdd: api_url + '/admin/pay/pay-user-resource/add',
        userInfoImport: api_url + '/admin/pay/pay-user-resource/userInfoImport',
        expTopicTemp: api_url + '/admin/pay/pay-user-resource/expTopicTemp',
      },
    },
    consume: {
      deposit: {
        getList: api_url + '/admin/pay/pay-consume-deposit/list',
        doEdit: api_url + '/admin/pay/pay-consume-deposit/edit',
        confirm: api_url + '/admin/pay/pay-consume-deposit/confirm',
        exportFile: api_url + '/admin/pay/pay-consume-deposit/exportFile',
      },
      trade: {
        getList: api_url + '/admin/pay/pay-consume-trade/list',
        offline: api_url + '/admin/pay/pay-consume-trade/offline',
      },
      withdraw: {
        getList: api_url + '/admin/pay/pay-consume-withdraw/list',
        doEdit: api_url + '/admin/pay/pay-consume-withdraw/edit',
        exportFile: api_url + '/admin/pay/pay-consume-withdraw/exportFile',
        doUpdateInvoiceNo:
          api_url + '/admin/pay/pay-consume-withdraw/updateInvoiceNo',
      },
      record: {
        getList: api_url + '/admin/pay/pay-consume-record/list',
        doEdit: api_url + '/admin/pay/pay-consume-record/edit',
        orderRecord: api_url + '/admin/pay/pay-consume-record/orderRecord',
      },
    },
    card: {
      type: {
        getPayCardTypes: api_url + '/admin/pay/pay-card-type/getPayCardTypes',
        getList: api_url + '/admin/pay/pay-card-type/list',
        bankCards: api_url + '/admin/pay/pay-card-type/bankCards',
        doEdit: api_url + '/admin/pay/pay-card-type/edit',
        doDelete: api_url + '/admin/pay/pay-card-type/delete',
      },
      history: {
        getHistoryList: api_url + '/admin/pay/pay-card-history/list',
        doHistoryDelete: api_url + '/admin/pay/pay-card-history/delete',
        expPayCardTemp:
          api_url + '/admin/pay/pay-card-history/expPayCardHistoryTemp',
        payCardImport:
          api_url + '/admin/pay/pay-card-history/payCardHistoryImport',
      },
      info: {
        getList: api_url + '/card/pay/pay-card-info/list',
        doEdit: api_url + '/card/pay/pay-card-info/edit',
      },
    },
    base: {
      recharge: {
        level: {
          getList: api_url + '/admin/pay/pay-base-recharge-level/list',
          doEdit: api_url + '/admin/pay/pay-base-recharge-level/edit',
          doDelete: api_url + '/admin/pay/pay-base-recharge-level/delete',
        },
      },
      bank: {
        getList: api_url + '/admin/pay/pay-base-bank/list',
        doDelete: api_url + '/admin/pay/pay-base-bank/delete',
        doEdit: api_url + '/admin/pay/pay-base-bank/edit',
      },
    },
  },
}
module.exports = {
  // 默认的接口地址，开发环境和生产环境走/mock-server
  // 当然你也可以选择自己配置成需要的接口地址，如"https://api.xxx.com"
  // 问号后边代表开发环境，冒号后边代表生产环境
  baseURL: api_url,
  // 配后端数据的接收方式application/json;charset=UTF-8 或 application/x-www-form-urlencoded;charset=UTF-8
  contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
  // 最长请求时间
  requestTimeout: 10000,
  // 操作正常code，支持String、Array、int多种类型
  successCode: [200, 0, '200', '0'],
  // 数据状态的字段名称
  statusName: 'code',
  // 状态信息的字段名称
  messageName: 'msg',

  URL: url,
}
