/*
 * @Descripttion: HJ
 * @Company: 思宏科技
 * @version: v1.0
 * @Author: alex
 * @Date: 2020-08-24 15:08:50
 * @LastEditors: HJ
 * @LastEditTime: 2021-07-06 16:07:24
 */
const { _UNION_URL, _CLIENT_URL, _COMMON, _WAIMAI_URL, _MERCHANT_URL } = require("./base-url");

const config = {
  merchantUrl: `${_MERCHANT_URL}`,
  waimaiUrl: `${_WAIMAI_URL}`,
  unionUrl: `${_UNION_URL}`,
  ossUrl: `${_COMMON}/osspolicy`,
  baseUrl: `/member`,
  // 新的url
  storeBaseUrl: `${_CLIENT_URL}/merchants/_MERCHANTID_/stores/_STOREID_`,
  cartBaseUrl: `${_WAIMAI_URL}/merchants/_MERCHANTID_/stores/_STOREID_/client`,
  clientStoreUrl: `${_CLIENT_URL}/_STOREID_`,
  clientMerchantUrl: `${_CLIENT_URL}/_MERCHANTID_`,
  clientUrl: `${_CLIENT_URL}`,
};

module.exports.config = config;
