Commit b26c75cd by 梁建民

js

parent 21b3c710
Showing with 2 additions and 2 deletions
......@@ -24,7 +24,7 @@ switch (window.location.hostname) {
urlApi = 'https://szapi.ichunt.com/';
url = 'https://szm.ichunt.com/v3/';
urlPc = 'https://sz.ichunt.com/v3/';
zyApi = 'https://tso.ichunt.com';
zyApi = 'https://szso.ichunt.com';
lyApi = 'https://szso.ichunt.com';
break;
case "tm.ichunt.com":
......
......@@ -3881,7 +3881,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrlPc\", function() { return productionUrlPc; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrl\", function() { return productionUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrlApi\", function() { return productionUrlApi; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"apis\", function() { return apis; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"services\", function() { return services; });\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.11@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.7.7@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! axios */ \"./node_modules/_axios@0.18.1@axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n\n/**\r\n * www.ichunt.com 正式环境\r\n * sz.ichunt.com 测试环境\r\n * t.ichunt.com 预发布环境\r\n * www.liexin.com 本地环境\r\n * urlApi api环境\r\n * url 3.0环境\r\n * urlMarketing marketing营销系统接口\r\n */\n\nvar urlApi, url, urlPc, zyApi, lyApi;\n\nswitch (window.location.hostname) {\n case \"m.ichunt.com\":\n urlPc = 'https://www.ichunt.com/v3/';\n url = 'https://m.ichunt.com/v3/';\n urlApi = 'https://api.ichunt.com/';\n zyApi = 'https://so12.ichunt.com'; //搜索自营的域名\n\n lyApi = 'https://so12.ichunt.com'; //搜索联营的域名\n\n break;\n\n case \"szm.ichunt.com\":\n urlApi = 'https://szapi.ichunt.com/';\n url = 'https://szm.ichunt.com/v3/';\n urlPc = 'https://sz.ichunt.com/v3/';\n zyApi = 'https://tso.ichunt.com';\n lyApi = 'https://szso.ichunt.com';\n break;\n\n case \"tm.ichunt.com\":\n url = 'https://tm.ichunt.com/v3/';\n urlApi = 'https://api.ichunt.com/';\n urlPc = 'https://t.ichunt.com/v3/';\n zyApi = 'https://so12.ichunt.com';\n lyApi = 'https://so12.ichunt.com';\n break;\n\n case \"m.liexin.com\":\n url = 'http://m.liexin.com/v3/';\n urlApi = 'http://api.liexin.com/';\n urlPc = 'http://www.liexin.com/v3/';\n zyApi = 'http://soso12.ichunt.com';\n lyApi = 'http://soso12.ichunt.com';\n break;\n\n default:\n //本地proxy配置参考vue.config.js\n url = '/m/v3/';\n urlApi = '/apis/';\n}\n\nvar productionUrlPc = urlPc;\nvar productionUrl = url;\nvar productionUrlApi = urlApi;\nvar apis = {\n /**wx分享签名接口**/\n wxShare: url + 'shareparams',\n\n /**\r\n /**\r\n * 首页\r\n */\n index: productionUrl + 'index',\n\n /**\r\n * 获取登录状态\r\n */\n loginCheck: productionUrlApi + 'login/check',\n\n /**\r\n * 获取购物车数量\r\n */\n cartCount: productionUrlApi + 'cart/count',\n\n /**\r\n * 去结算行为统计\r\n */\n confirmBehavior: productionUrlApi + '/public/confirmBehavior',\n\n /**\r\n * 获取购物车列表\r\n */\n cartList: productionUrlApi + 'cart/lists',\n\n /**\r\n * 删除购物车\r\n */\n cartDelete: productionUrlApi + 'cart/delete',\n\n /**\r\n * 获取购物各种类型数量\r\n */\n allcount: productionUrlApi + 'cart/allcount',\n\n /**\r\n * 改变购物车商品数量\r\n */\n changenum: productionUrlApi + '/cart/changenum',\n\n /**\r\n * 客服统计处理\r\n */\n customsrService: productionUrlApi + 'public/customsrservice',\n\n /**\r\n * 获取php常量\r\n */\n getCommonParams: productionUrl + 'getcommonparams',\n\n /**\r\n * 微信授权\r\n */\n wxaccess: productionUrl + 'api/wxaccess',\n\n /**\r\n * 验证用户是否存在\r\n */\n checkAccountExists: productionUrlApi + 'public/checkAccountExists',\n\n /**\r\n * 获取sms验证码\r\n */\n customSmsVerify: productionUrlApi + 'public/customSmsVerify',\n\n /**\r\n * 提交报关信息\r\n */\n chainFind: productionUrl + 'Service/chainFind',\n\n /**\r\n *微信菜单文章锦集api\r\n */\n wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article',\n\n /**\r\n *新闻列表api\r\n */\n newsArticle: productionUrlApi + 'Article/Article/index',\n\n /**\r\n * *\r\n * 新闻详情api\r\n * *\r\n */\n newsArticleDetail: productionUrlApi + 'Article/Article/details',\n\n /**\r\n * *\r\n * 新闻详情api\r\n * *\r\n */\n newsArticleDetailAd: productionUrl + 'api/newsdetailad',\n\n /**\r\n * *\r\n * 登录接口api\r\n * *\r\n */\n actionLogin: productionUrlApi + 'login/action',\n\n /**\r\n * *\r\n * 登录接口api\r\n * *\r\n */\n actionLogins: productionUrlApi + 'login/action',\n\n /**\r\n * *\r\n * 获取短信api\r\n * *\r\n */\n smsVerify: productionUrlApi + 'public/smsVerify',\n\n /**\r\n * *\r\n * 提交反馈api\r\n * *\r\n */\n feedback: productionUrlApi + 'help/help/feedback',\n\n /**\r\n * *\r\n * 获取当前积分api\r\n * *\r\n */\n getUserCurrentPoint: productionUrlApi + '/point/getUserCurrentPoint',\n\n /**\r\n * *\r\n * 是否签到api\r\n * *\r\n */\n isSignInToday: productionUrlApi + 'signIn/isSignInToday',\n\n /**\r\n * *\r\n * 签到api\r\n * *\r\n */\n signIn: productionUrlApi + 'signIn/signIn',\n\n /**\r\n * *\r\n * 积分商城是否填写信息完成api\r\n * *\r\n */\n checkMktScore: productionUrlApi + 'user/checkMktScore',\n\n /**\r\n * *\r\n * 积分商城是所有奖品api\r\n * *\r\n */\n getPointPrize: productionUrlApi + 'point/getPointPrize',\n\n /**\r\n * *\r\n * 积分商城兑换奖品api\r\n * *\r\n */\n exchangePrize: productionUrlApi + 'point/exchangePrize',\n\n /**\r\n * *\r\n * 积分商城积分明细api\r\n * *\r\n */\n getUserPointExchangeDetail: productionUrlApi + 'point/getUserPointExchangeDetail',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n recvlist: productionUrlApi + 'address/recvlist',\n\n /**\r\n * *\r\n * 新增收货地址api\r\n * *\r\n */\n createAddress: productionUrlApi + 'address/create',\n\n /**\r\n * *\r\n * 编辑收货地址api\r\n * *\r\n */\n updateAddress: productionUrlApi + 'address/update',\n\n /**\r\n * *\r\n * 选择兑换奖地址api\r\n * *\r\n */\n changeReceivePrizeAddress: productionUrlApi + 'point/changeReceivePrizeAddress',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n setdefault: productionUrlApi + 'address/setdefault',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n deleteAddress: productionUrlApi + 'address/delete',\n\n /**\r\n * *\r\n *单个 收货地址api\r\n * *\r\n */\n infoAddress: productionUrlApi + 'address/info',\n\n /**\r\n * *\r\n *获取港澳台地址选项\r\n * *\r\n */\n getOverseaMsgArea: productionUrlApi + '/reg/getOverseaMsgArea',\n\n /**\r\n * *\r\n * 积分规则api\r\n * *\r\n */\n pointruleApi: productionUrl + 'api/pointrule',\n\n /**\r\n * *\r\n * 积分收入支出明细api\r\n * *\r\n */\n getUserPointDetail: productionUrlApi + 'point/getUserPointDetail',\n\n /**\r\n * *\r\n * 积分兑换明细api\r\n * *\r\n */\n getUserPointExchangeList: productionUrlApi + 'point/getUserPointExchangeList',\n\n /**\r\n * 获取钱包信息api\r\n */\n getWalletInfo: productionUrlApi + 'wallet/info',\n\n /**\r\n * *\r\n * 激活钱包api\r\n * *\r\n */\n activateWallet: productionUrlApi + 'wallet/activate',\n\n /**\r\n * *\r\n * 发送安全手机验证码api\r\n * *\r\n */\n sendSafesms: productionUrlApi + 'wallet/safesms',\n\n /**\r\n * *\r\n * 重置支付密码验证环节api\r\n * *\r\n */\n verifyResetsms: productionUrlApi + 'wallet/verifyresetsms',\n\n /**\r\n * *\r\n * 修改钱包密码api\r\n * *\r\n */\n changeWalletpwd: productionUrlApi + 'wallet/changepwd',\n\n /**\r\n * *\r\n * 钱包明细列表api\r\n * *\r\n */\n walletListLog: productionUrlApi + 'wallet/log',\n\n /**\r\n * *\r\n * 钱包充值提现列表api\r\n * *\r\n */\n walletRecordList: productionUrlApi + 'wallet/lists',\n\n /**\r\n * *\r\n * 手机安全验证校验api\r\n * *\r\n */\n verifySafeMobile: productionUrlApi + 'wallet/verifysafe',\n\n /**\r\n * *\r\n * 校验银行卡获取短信验证码api\r\n * *\r\n */\n getBindBankmsg: productionUrlApi + 'wallet/getbankmsg',\n\n /**\r\n * *\r\n * 绑定银行卡api\r\n * *\r\n */\n bindBankCard: productionUrlApi + 'wallet/bindbankcard',\n\n /**\r\n * *\r\n * 充值申请api\r\n * *\r\n */\n walletRecharge: productionUrlApi + 'wallet/recharge',\n\n /**\r\n * *\r\n * 提现申请api\r\n * *\r\n */\n walletWithdraw: productionUrlApi + 'wallet/withdraw',\n\n /**\r\n * *\r\n * 充值提现单据详细api\r\n * *\r\n */\n rechargeWithdrawOrderIfo: productionUrlApi + 'wallet/orderinfo',\n\n /**\r\n * *\r\n * 跳转及支付码api\r\n * *\r\n */\n payTodo: productionUrlApi + 'pay/todo',\n\n /**\r\n * *\r\n * 查看订单信息api\r\n * *\r\n */\n orderInfo: productionUrlApi + 'order/info',\n\n /*****关于我们顶部配置*/\n getAboutUsData: productionUrl + 'api/aboutData',\n\n /****自营现货 */\n searchZy: zyApi + '/search/ZiYing/zy',\n\n /****联营 */\n searchLy: lyApi + '/search/getData/index',\n\n /****联营es */\n searchLyEs: lyApi + '/search/es/index',\n\n /**供应商接口**/\n supplierApi: productionUrl + 'api/supplierApi',\n\n /****获取弹出商品信息 */\n goodDetail: productionUrlApi + '/goods/detail',\n\n /****获取zy默认class查询 */\n defaultClass: productionUrl + 'api/defaultClass',\n\n /******添加到购物车或者下单 */\n addGood: productionUrlApi + '/cart/add',\n\n /******自营样片订单提交接口 */\n selfSampleCreate: productionUrlApi + '/order/selfsamplecreate',\n\n /** 获取用户领取机会、邀约人数*/\n getusersampleinfo: productionUrlApi + '/user/getusersampleinfo',\n\n /** 自营样片邀约登录接口*/\n loginsampleaction: productionUrlApi + '/login/sampleaction',\n\n /** 获取样片列表*/\n samplelist: productionUrlApi + '/sample/list',\n\n /** 获取样片分类列表*/\n sampleclasslist: productionUrlApi + '/sample/class/list',\n\n /** 获取单个样片信息*/\n getsampleinfo: url + 'getsampleinfo',\n\n /**\r\n *\r\n * 会员中心接口\r\n *\r\n * **/\n\n /**获取个人信息**/\n getUserType: productionUrlApi + '/user/getUserType',\n\n /**获取个人订单数量**/\n orderCount: productionUrlApi + '/order/count',\n\n /**获取个人账号绑定信息**/\n getBindInfo: productionUrlApi + '/user/getBindInfo',\n\n /**解绑个人账号绑定信息**/\n unbindPhone: productionUrlApi + '/user/unbind',\n\n /**退出当前账号**/\n logout: productionUrlApi + '/login/logout',\n\n /**获取省市区**/\n allAddress: productionUrlApi + '/address/allpcd',\n\n /**修改个人信息**/\n changeUserInfo: productionUrlApi + '/user/changeUserInfo',\n\n /**优惠券数量**/\n ucouponCount: productionUrlApi + '/ucoupon/count',\n\n /**优惠券列表**/\n ucouponLists: productionUrlApi + '/ucoupon/lists',\n\n /**品牌分类**/\n brandList: productionUrl + 'api/brandList',\n\n /**品牌详细**/\n brandInfo: productionUrl + 'api/brandInfo',\n\n /**SKU公用接口**/\n skuList: productionUrlApi + 'sku/info',\n\n /**获取排行榜接口**/\n getlxuserrank: productionUrlApi + 'activity/getlxuserrank',\n\n /**\r\n * 资料下载(banner)\r\n */\n getfileuploadbanner: productionUrl + 'news/getfileuploadbanner',\n\n /**\r\n * 资料下载\r\n */\n articleShowData: productionUrlApi + 'article/showData',\n\n /**\r\n * 资料下载(地址)\r\n */\n downloadFile: productionUrlApi + 'article/DownloadFile',\n\n /**\r\n * 发送验证码\r\n */\n smsVerifys: productionUrlApi + 'public/smsVerify',\n\n /**\r\n * 资料下载分类获取\r\n */\n showClass: productionUrlApi + 'article/show_class',\n\n /**\r\n * 自营样品分类统计\r\n */\n aggSample: zyApi + '/search/ZiYing/aggSample',\n\n /**\r\n * 自营属性输出\r\n */\n aggs: zyApi + '/search/ZiYing/aggs',\n\n /**\r\n * 自营搜索\r\n */\n ZiYingIndex: zyApi + '/search/ZiYing/index',\n\n /**\r\n * 获取banner\r\n */\n getsamplebanner: url + '/getsamplebanner'\n};\nvar services = {\n index: function index(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.index, params);\n },\n loginCheck: function loginCheck(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.loginCheck, {\n params: _objectSpread({}, params)\n });\n },\n smsVerify: function smsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.smsVerify, params);\n },\n smsVerifys: function smsVerifys(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.smsVerifys, params);\n },\n actionLogin: function actionLogin(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.actionLogin, params);\n },\n actionLogins: function actionLogins(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.actionLogins, params);\n },\n feedback: function feedback(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.feedback, params);\n },\n cartCount: function cartCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.cartCount, {\n params: _objectSpread({}, params)\n });\n },\n customsrService: function customsrService(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.customsrService, {\n params: _objectSpread({}, params)\n });\n },\n getCommonParams: function getCommonParams(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getCommonParams, params);\n },\n wxaccess: function wxaccess(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wxaccess, params);\n },\n checkAccountExists: function checkAccountExists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.checkAccountExists, params);\n },\n customSmsVerify: function customSmsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.customSmsVerify, params);\n },\n chainFind: function chainFind(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.chainFind, params);\n },\n wechatArticle: function wechatArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wechatArticle, params);\n },\n newsArticle: function newsArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticle, params);\n },\n newsArticleDetail: function newsArticleDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticleDetail, params);\n },\n newsArticleDetailAd: function newsArticleDetailAd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticleDetailAd, params);\n },\n getUserCurrentPoint: function getUserCurrentPoint(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserCurrentPoint, params);\n },\n isSignInToday: function isSignInToday(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.isSignInToday, params);\n },\n signIn: function signIn(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.signIn, params);\n },\n checkMktScore: function checkMktScore(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.checkMktScore, params);\n },\n getPointPrize: function getPointPrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getPointPrize, params);\n },\n exchangePrize: function exchangePrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.exchangePrize, params);\n },\n recvlist: function recvlist(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.recvlist, params);\n },\n createAddress: function createAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.createAddress, params);\n },\n updateAddress: function updateAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.updateAddress, params);\n },\n changeReceivePrizeAddress: function changeReceivePrizeAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeReceivePrizeAddress, params);\n },\n setdefault: function setdefault(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.setdefault, params);\n },\n deleteAddress: function deleteAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.deleteAddress, params);\n },\n infoAddress: function infoAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.infoAddress, params);\n },\n getOverseaMsgArea: function getOverseaMsgArea(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getOverseaMsgArea, params);\n },\n getUserPointExchangeDetail: function getUserPointExchangeDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointExchangeDetail, params);\n },\n pointruleApi: function pointruleApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.pointruleApi, params);\n },\n getUserPointDetail: function getUserPointDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointDetail, params);\n },\n getUserPointExchangeList: function getUserPointExchangeList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointExchangeList, params);\n },\n getAboutUsData: function getAboutUsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getAboutUsData, params);\n },\n getWalletInfo: function getWalletInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.getWalletInfo, {\n params: _objectSpread({}, params)\n });\n },\n activateWallet: function activateWallet(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.activateWallet, params);\n },\n sendSafesms: function sendSafesms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.sendSafesms, params);\n },\n verifyResetsms: function verifyResetsms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.verifyResetsms, params);\n },\n walletListLog: function walletListLog(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletListLog, params);\n },\n changeWalletpwd: function changeWalletpwd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeWalletpwd, params);\n },\n walletRecordList: function walletRecordList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletRecordList, params);\n },\n verifySafeMobile: function verifySafeMobile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.verifySafeMobile, params);\n },\n getBindBankmsg: function getBindBankmsg(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getBindBankmsg, params);\n },\n bindBankCard: function bindBankCard(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.bindBankCard, params);\n },\n walletRecharge: function walletRecharge(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletRecharge, params);\n },\n walletWithdraw: function walletWithdraw(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletWithdraw, params);\n },\n rechargeWithdrawOrderIfo: function rechargeWithdrawOrderIfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.rechargeWithdrawOrderIfo, params);\n },\n payTodo: function payTodo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.payTodo, params);\n },\n orderInfo: function orderInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.orderInfo, params);\n },\n getZyData: function getZyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchZy, params);\n },\n getLyData: function getLyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchLy, params);\n },\n getLyEsData: function getLyEsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchLyEs, params);\n },\n supplierApi: function supplierApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.supplierApi, params);\n },\n goodDetail: function goodDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.goodDetail, params);\n },\n defaultClass: function defaultClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.defaultClass, params);\n },\n addGood: function addGood(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.addGood, params);\n },\n cartList: function cartList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.cartList, params);\n },\n cartDelete: function cartDelete(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.cartDelete, params);\n },\n allcount: function allcount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.allcount, params);\n },\n confirmBehavior: function confirmBehavior(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.confirmBehavior, params);\n },\n changenum: function changenum(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changenum, params);\n },\n getUserType: function getUserType(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserType, params);\n },\n orderCount: function orderCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.orderCount, params);\n },\n getBindInfo: function getBindInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getBindInfo, params);\n },\n ucouponCount: function ucouponCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ucouponCount, params);\n },\n ucouponLists: function ucouponLists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ucouponLists, params);\n },\n unbindPhone: function unbindPhone(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.unbindPhone, params);\n },\n logout: function logout(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.logout, params);\n },\n allAddress: function allAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.allAddress, params);\n },\n changeUserInfo: function changeUserInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeUserInfo, params);\n },\n brandList: function brandList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.brandList, params);\n },\n brandInfo: function brandInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.brandInfo, {\n params: _objectSpread({}, params)\n });\n },\n skuList: function skuList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.skuList, params);\n },\n getlxuserrank: function getlxuserrank(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getlxuserrank, params);\n },\n getfileuploadbanner: function getfileuploadbanner(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getfileuploadbanner, params);\n },\n articleShowData: function articleShowData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.articleShowData, params);\n },\n downloadFile: function downloadFile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.downloadFile, params);\n },\n wxShare: function wxShare(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wxShare, params);\n },\n selfSampleCreate: function selfSampleCreate(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.selfSampleCreate, params);\n },\n sampleClassList: function sampleClassList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.sampleclasslist, {\n params: _objectSpread({}, params)\n });\n },\n sampleList: function sampleList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.samplelist, {\n params: _objectSpread({}, params)\n });\n },\n getUserSampleInfo: function getUserSampleInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.getusersampleinfo, {\n params: _objectSpread({}, params)\n });\n },\n getSampleInfo: function getSampleInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getsampleinfo, params);\n },\n showClass: function showClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.showClass, params);\n },\n aggSample: function aggSample(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.aggSample, params);\n },\n aggs: function aggs(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.aggs, params);\n },\n ZiYingIndex: function ZiYingIndex(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ZiYingIndex, params);\n },\n getsamplebanner: function getsamplebanner(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getsamplebanner, params);\n }\n};\n\n//# sourceURL=webpack:///./src/api/index.js?");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrlPc\", function() { return productionUrlPc; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrl\", function() { return productionUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"productionUrlApi\", function() { return productionUrlApi; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"apis\", function() { return apis; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"services\", function() { return services; });\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.11@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.7.7@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! axios */ \"./node_modules/_axios@0.18.1@axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n\n/**\r\n * www.ichunt.com 正式环境\r\n * sz.ichunt.com 测试环境\r\n * t.ichunt.com 预发布环境\r\n * www.liexin.com 本地环境\r\n * urlApi api环境\r\n * url 3.0环境\r\n * urlMarketing marketing营销系统接口\r\n */\n\nvar urlApi, url, urlPc, zyApi, lyApi;\n\nswitch (window.location.hostname) {\n case \"m.ichunt.com\":\n urlPc = 'https://www.ichunt.com/v3/';\n url = 'https://m.ichunt.com/v3/';\n urlApi = 'https://api.ichunt.com/';\n zyApi = 'https://so12.ichunt.com'; //搜索自营的域名\n\n lyApi = 'https://so12.ichunt.com'; //搜索联营的域名\n\n break;\n\n case \"szm.ichunt.com\":\n urlApi = 'https://szapi.ichunt.com/';\n url = 'https://szm.ichunt.com/v3/';\n urlPc = 'https://sz.ichunt.com/v3/';\n zyApi = 'https://szso.ichunt.com';\n lyApi = 'https://szso.ichunt.com';\n break;\n\n case \"tm.ichunt.com\":\n url = 'https://tm.ichunt.com/v3/';\n urlApi = 'https://api.ichunt.com/';\n urlPc = 'https://t.ichunt.com/v3/';\n zyApi = 'https://so12.ichunt.com';\n lyApi = 'https://so12.ichunt.com';\n break;\n\n case \"m.liexin.com\":\n url = 'http://m.liexin.com/v3/';\n urlApi = 'http://api.liexin.com/';\n urlPc = 'http://www.liexin.com/v3/';\n zyApi = 'http://soso12.ichunt.com';\n lyApi = 'http://soso12.ichunt.com';\n break;\n\n default:\n //本地proxy配置参考vue.config.js\n url = '/m/v3/';\n urlApi = '/apis/';\n}\n\nvar productionUrlPc = urlPc;\nvar productionUrl = url;\nvar productionUrlApi = urlApi;\nvar apis = {\n /**wx分享签名接口**/\n wxShare: url + 'shareparams',\n\n /**\r\n /**\r\n * 首页\r\n */\n index: productionUrl + 'index',\n\n /**\r\n * 获取登录状态\r\n */\n loginCheck: productionUrlApi + 'login/check',\n\n /**\r\n * 获取购物车数量\r\n */\n cartCount: productionUrlApi + 'cart/count',\n\n /**\r\n * 去结算行为统计\r\n */\n confirmBehavior: productionUrlApi + '/public/confirmBehavior',\n\n /**\r\n * 获取购物车列表\r\n */\n cartList: productionUrlApi + 'cart/lists',\n\n /**\r\n * 删除购物车\r\n */\n cartDelete: productionUrlApi + 'cart/delete',\n\n /**\r\n * 获取购物各种类型数量\r\n */\n allcount: productionUrlApi + 'cart/allcount',\n\n /**\r\n * 改变购物车商品数量\r\n */\n changenum: productionUrlApi + '/cart/changenum',\n\n /**\r\n * 客服统计处理\r\n */\n customsrService: productionUrlApi + 'public/customsrservice',\n\n /**\r\n * 获取php常量\r\n */\n getCommonParams: productionUrl + 'getcommonparams',\n\n /**\r\n * 微信授权\r\n */\n wxaccess: productionUrl + 'api/wxaccess',\n\n /**\r\n * 验证用户是否存在\r\n */\n checkAccountExists: productionUrlApi + 'public/checkAccountExists',\n\n /**\r\n * 获取sms验证码\r\n */\n customSmsVerify: productionUrlApi + 'public/customSmsVerify',\n\n /**\r\n * 提交报关信息\r\n */\n chainFind: productionUrl + 'Service/chainFind',\n\n /**\r\n *微信菜单文章锦集api\r\n */\n wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article',\n\n /**\r\n *新闻列表api\r\n */\n newsArticle: productionUrlApi + 'Article/Article/index',\n\n /**\r\n * *\r\n * 新闻详情api\r\n * *\r\n */\n newsArticleDetail: productionUrlApi + 'Article/Article/details',\n\n /**\r\n * *\r\n * 新闻详情api\r\n * *\r\n */\n newsArticleDetailAd: productionUrl + 'api/newsdetailad',\n\n /**\r\n * *\r\n * 登录接口api\r\n * *\r\n */\n actionLogin: productionUrlApi + 'login/action',\n\n /**\r\n * *\r\n * 登录接口api\r\n * *\r\n */\n actionLogins: productionUrlApi + 'login/action',\n\n /**\r\n * *\r\n * 获取短信api\r\n * *\r\n */\n smsVerify: productionUrlApi + 'public/smsVerify',\n\n /**\r\n * *\r\n * 提交反馈api\r\n * *\r\n */\n feedback: productionUrlApi + 'help/help/feedback',\n\n /**\r\n * *\r\n * 获取当前积分api\r\n * *\r\n */\n getUserCurrentPoint: productionUrlApi + '/point/getUserCurrentPoint',\n\n /**\r\n * *\r\n * 是否签到api\r\n * *\r\n */\n isSignInToday: productionUrlApi + 'signIn/isSignInToday',\n\n /**\r\n * *\r\n * 签到api\r\n * *\r\n */\n signIn: productionUrlApi + 'signIn/signIn',\n\n /**\r\n * *\r\n * 积分商城是否填写信息完成api\r\n * *\r\n */\n checkMktScore: productionUrlApi + 'user/checkMktScore',\n\n /**\r\n * *\r\n * 积分商城是所有奖品api\r\n * *\r\n */\n getPointPrize: productionUrlApi + 'point/getPointPrize',\n\n /**\r\n * *\r\n * 积分商城兑换奖品api\r\n * *\r\n */\n exchangePrize: productionUrlApi + 'point/exchangePrize',\n\n /**\r\n * *\r\n * 积分商城积分明细api\r\n * *\r\n */\n getUserPointExchangeDetail: productionUrlApi + 'point/getUserPointExchangeDetail',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n recvlist: productionUrlApi + 'address/recvlist',\n\n /**\r\n * *\r\n * 新增收货地址api\r\n * *\r\n */\n createAddress: productionUrlApi + 'address/create',\n\n /**\r\n * *\r\n * 编辑收货地址api\r\n * *\r\n */\n updateAddress: productionUrlApi + 'address/update',\n\n /**\r\n * *\r\n * 选择兑换奖地址api\r\n * *\r\n */\n changeReceivePrizeAddress: productionUrlApi + 'point/changeReceivePrizeAddress',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n setdefault: productionUrlApi + 'address/setdefault',\n\n /**\r\n * *\r\n * 收货地址api\r\n * *\r\n */\n deleteAddress: productionUrlApi + 'address/delete',\n\n /**\r\n * *\r\n *单个 收货地址api\r\n * *\r\n */\n infoAddress: productionUrlApi + 'address/info',\n\n /**\r\n * *\r\n *获取港澳台地址选项\r\n * *\r\n */\n getOverseaMsgArea: productionUrlApi + '/reg/getOverseaMsgArea',\n\n /**\r\n * *\r\n * 积分规则api\r\n * *\r\n */\n pointruleApi: productionUrl + 'api/pointrule',\n\n /**\r\n * *\r\n * 积分收入支出明细api\r\n * *\r\n */\n getUserPointDetail: productionUrlApi + 'point/getUserPointDetail',\n\n /**\r\n * *\r\n * 积分兑换明细api\r\n * *\r\n */\n getUserPointExchangeList: productionUrlApi + 'point/getUserPointExchangeList',\n\n /**\r\n * 获取钱包信息api\r\n */\n getWalletInfo: productionUrlApi + 'wallet/info',\n\n /**\r\n * *\r\n * 激活钱包api\r\n * *\r\n */\n activateWallet: productionUrlApi + 'wallet/activate',\n\n /**\r\n * *\r\n * 发送安全手机验证码api\r\n * *\r\n */\n sendSafesms: productionUrlApi + 'wallet/safesms',\n\n /**\r\n * *\r\n * 重置支付密码验证环节api\r\n * *\r\n */\n verifyResetsms: productionUrlApi + 'wallet/verifyresetsms',\n\n /**\r\n * *\r\n * 修改钱包密码api\r\n * *\r\n */\n changeWalletpwd: productionUrlApi + 'wallet/changepwd',\n\n /**\r\n * *\r\n * 钱包明细列表api\r\n * *\r\n */\n walletListLog: productionUrlApi + 'wallet/log',\n\n /**\r\n * *\r\n * 钱包充值提现列表api\r\n * *\r\n */\n walletRecordList: productionUrlApi + 'wallet/lists',\n\n /**\r\n * *\r\n * 手机安全验证校验api\r\n * *\r\n */\n verifySafeMobile: productionUrlApi + 'wallet/verifysafe',\n\n /**\r\n * *\r\n * 校验银行卡获取短信验证码api\r\n * *\r\n */\n getBindBankmsg: productionUrlApi + 'wallet/getbankmsg',\n\n /**\r\n * *\r\n * 绑定银行卡api\r\n * *\r\n */\n bindBankCard: productionUrlApi + 'wallet/bindbankcard',\n\n /**\r\n * *\r\n * 充值申请api\r\n * *\r\n */\n walletRecharge: productionUrlApi + 'wallet/recharge',\n\n /**\r\n * *\r\n * 提现申请api\r\n * *\r\n */\n walletWithdraw: productionUrlApi + 'wallet/withdraw',\n\n /**\r\n * *\r\n * 充值提现单据详细api\r\n * *\r\n */\n rechargeWithdrawOrderIfo: productionUrlApi + 'wallet/orderinfo',\n\n /**\r\n * *\r\n * 跳转及支付码api\r\n * *\r\n */\n payTodo: productionUrlApi + 'pay/todo',\n\n /**\r\n * *\r\n * 查看订单信息api\r\n * *\r\n */\n orderInfo: productionUrlApi + 'order/info',\n\n /*****关于我们顶部配置*/\n getAboutUsData: productionUrl + 'api/aboutData',\n\n /****自营现货 */\n searchZy: zyApi + '/search/ZiYing/zy',\n\n /****联营 */\n searchLy: lyApi + '/search/getData/index',\n\n /****联营es */\n searchLyEs: lyApi + '/search/es/index',\n\n /**供应商接口**/\n supplierApi: productionUrl + 'api/supplierApi',\n\n /****获取弹出商品信息 */\n goodDetail: productionUrlApi + '/goods/detail',\n\n /****获取zy默认class查询 */\n defaultClass: productionUrl + 'api/defaultClass',\n\n /******添加到购物车或者下单 */\n addGood: productionUrlApi + '/cart/add',\n\n /******自营样片订单提交接口 */\n selfSampleCreate: productionUrlApi + '/order/selfsamplecreate',\n\n /** 获取用户领取机会、邀约人数*/\n getusersampleinfo: productionUrlApi + '/user/getusersampleinfo',\n\n /** 自营样片邀约登录接口*/\n loginsampleaction: productionUrlApi + '/login/sampleaction',\n\n /** 获取样片列表*/\n samplelist: productionUrlApi + '/sample/list',\n\n /** 获取样片分类列表*/\n sampleclasslist: productionUrlApi + '/sample/class/list',\n\n /** 获取单个样片信息*/\n getsampleinfo: url + 'getsampleinfo',\n\n /**\r\n *\r\n * 会员中心接口\r\n *\r\n * **/\n\n /**获取个人信息**/\n getUserType: productionUrlApi + '/user/getUserType',\n\n /**获取个人订单数量**/\n orderCount: productionUrlApi + '/order/count',\n\n /**获取个人账号绑定信息**/\n getBindInfo: productionUrlApi + '/user/getBindInfo',\n\n /**解绑个人账号绑定信息**/\n unbindPhone: productionUrlApi + '/user/unbind',\n\n /**退出当前账号**/\n logout: productionUrlApi + '/login/logout',\n\n /**获取省市区**/\n allAddress: productionUrlApi + '/address/allpcd',\n\n /**修改个人信息**/\n changeUserInfo: productionUrlApi + '/user/changeUserInfo',\n\n /**优惠券数量**/\n ucouponCount: productionUrlApi + '/ucoupon/count',\n\n /**优惠券列表**/\n ucouponLists: productionUrlApi + '/ucoupon/lists',\n\n /**品牌分类**/\n brandList: productionUrl + 'api/brandList',\n\n /**品牌详细**/\n brandInfo: productionUrl + 'api/brandInfo',\n\n /**SKU公用接口**/\n skuList: productionUrlApi + 'sku/info',\n\n /**获取排行榜接口**/\n getlxuserrank: productionUrlApi + 'activity/getlxuserrank',\n\n /**\r\n * 资料下载(banner)\r\n */\n getfileuploadbanner: productionUrl + 'news/getfileuploadbanner',\n\n /**\r\n * 资料下载\r\n */\n articleShowData: productionUrlApi + 'article/showData',\n\n /**\r\n * 资料下载(地址)\r\n */\n downloadFile: productionUrlApi + 'article/DownloadFile',\n\n /**\r\n * 发送验证码\r\n */\n smsVerifys: productionUrlApi + 'public/smsVerify',\n\n /**\r\n * 资料下载分类获取\r\n */\n showClass: productionUrlApi + 'article/show_class',\n\n /**\r\n * 自营样品分类统计\r\n */\n aggSample: zyApi + '/search/ZiYing/aggSample',\n\n /**\r\n * 自营属性输出\r\n */\n aggs: zyApi + '/search/ZiYing/aggs',\n\n /**\r\n * 自营搜索\r\n */\n ZiYingIndex: zyApi + '/search/ZiYing/index',\n\n /**\r\n * 获取banner\r\n */\n getsamplebanner: url + '/getsamplebanner'\n};\nvar services = {\n index: function index(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.index, params);\n },\n loginCheck: function loginCheck(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.loginCheck, {\n params: _objectSpread({}, params)\n });\n },\n smsVerify: function smsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.smsVerify, params);\n },\n smsVerifys: function smsVerifys(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.smsVerifys, params);\n },\n actionLogin: function actionLogin(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.actionLogin, params);\n },\n actionLogins: function actionLogins(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.actionLogins, params);\n },\n feedback: function feedback(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.feedback, params);\n },\n cartCount: function cartCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.cartCount, {\n params: _objectSpread({}, params)\n });\n },\n customsrService: function customsrService(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.customsrService, {\n params: _objectSpread({}, params)\n });\n },\n getCommonParams: function getCommonParams(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getCommonParams, params);\n },\n wxaccess: function wxaccess(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wxaccess, params);\n },\n checkAccountExists: function checkAccountExists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.checkAccountExists, params);\n },\n customSmsVerify: function customSmsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.customSmsVerify, params);\n },\n chainFind: function chainFind(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.chainFind, params);\n },\n wechatArticle: function wechatArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wechatArticle, params);\n },\n newsArticle: function newsArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticle, params);\n },\n newsArticleDetail: function newsArticleDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticleDetail, params);\n },\n newsArticleDetailAd: function newsArticleDetailAd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.newsArticleDetailAd, params);\n },\n getUserCurrentPoint: function getUserCurrentPoint(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserCurrentPoint, params);\n },\n isSignInToday: function isSignInToday(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.isSignInToday, params);\n },\n signIn: function signIn(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.signIn, params);\n },\n checkMktScore: function checkMktScore(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.checkMktScore, params);\n },\n getPointPrize: function getPointPrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getPointPrize, params);\n },\n exchangePrize: function exchangePrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.exchangePrize, params);\n },\n recvlist: function recvlist(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.recvlist, params);\n },\n createAddress: function createAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.createAddress, params);\n },\n updateAddress: function updateAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.updateAddress, params);\n },\n changeReceivePrizeAddress: function changeReceivePrizeAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeReceivePrizeAddress, params);\n },\n setdefault: function setdefault(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.setdefault, params);\n },\n deleteAddress: function deleteAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.deleteAddress, params);\n },\n infoAddress: function infoAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.infoAddress, params);\n },\n getOverseaMsgArea: function getOverseaMsgArea(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getOverseaMsgArea, params);\n },\n getUserPointExchangeDetail: function getUserPointExchangeDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointExchangeDetail, params);\n },\n pointruleApi: function pointruleApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.pointruleApi, params);\n },\n getUserPointDetail: function getUserPointDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointDetail, params);\n },\n getUserPointExchangeList: function getUserPointExchangeList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserPointExchangeList, params);\n },\n getAboutUsData: function getAboutUsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getAboutUsData, params);\n },\n getWalletInfo: function getWalletInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.getWalletInfo, {\n params: _objectSpread({}, params)\n });\n },\n activateWallet: function activateWallet(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.activateWallet, params);\n },\n sendSafesms: function sendSafesms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.sendSafesms, params);\n },\n verifyResetsms: function verifyResetsms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.verifyResetsms, params);\n },\n walletListLog: function walletListLog(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletListLog, params);\n },\n changeWalletpwd: function changeWalletpwd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeWalletpwd, params);\n },\n walletRecordList: function walletRecordList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletRecordList, params);\n },\n verifySafeMobile: function verifySafeMobile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.verifySafeMobile, params);\n },\n getBindBankmsg: function getBindBankmsg(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getBindBankmsg, params);\n },\n bindBankCard: function bindBankCard(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.bindBankCard, params);\n },\n walletRecharge: function walletRecharge(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletRecharge, params);\n },\n walletWithdraw: function walletWithdraw(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.walletWithdraw, params);\n },\n rechargeWithdrawOrderIfo: function rechargeWithdrawOrderIfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.rechargeWithdrawOrderIfo, params);\n },\n payTodo: function payTodo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.payTodo, params);\n },\n orderInfo: function orderInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.orderInfo, params);\n },\n getZyData: function getZyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchZy, params);\n },\n getLyData: function getLyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchLy, params);\n },\n getLyEsData: function getLyEsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.searchLyEs, params);\n },\n supplierApi: function supplierApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.supplierApi, params);\n },\n goodDetail: function goodDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.goodDetail, params);\n },\n defaultClass: function defaultClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.defaultClass, params);\n },\n addGood: function addGood(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.addGood, params);\n },\n cartList: function cartList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.cartList, params);\n },\n cartDelete: function cartDelete(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.cartDelete, params);\n },\n allcount: function allcount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.allcount, params);\n },\n confirmBehavior: function confirmBehavior(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.confirmBehavior, params);\n },\n changenum: function changenum(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changenum, params);\n },\n getUserType: function getUserType(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getUserType, params);\n },\n orderCount: function orderCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.orderCount, params);\n },\n getBindInfo: function getBindInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getBindInfo, params);\n },\n ucouponCount: function ucouponCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ucouponCount, params);\n },\n ucouponLists: function ucouponLists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ucouponLists, params);\n },\n unbindPhone: function unbindPhone(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.unbindPhone, params);\n },\n logout: function logout(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.logout, params);\n },\n allAddress: function allAddress(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.allAddress, params);\n },\n changeUserInfo: function changeUserInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.changeUserInfo, params);\n },\n brandList: function brandList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.brandList, params);\n },\n brandInfo: function brandInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.brandInfo, {\n params: _objectSpread({}, params)\n });\n },\n skuList: function skuList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.skuList, params);\n },\n getlxuserrank: function getlxuserrank(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getlxuserrank, params);\n },\n getfileuploadbanner: function getfileuploadbanner(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getfileuploadbanner, params);\n },\n articleShowData: function articleShowData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.articleShowData, params);\n },\n downloadFile: function downloadFile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.downloadFile, params);\n },\n wxShare: function wxShare(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.wxShare, params);\n },\n selfSampleCreate: function selfSampleCreate(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.selfSampleCreate, params);\n },\n sampleClassList: function sampleClassList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.sampleclasslist, {\n params: _objectSpread({}, params)\n });\n },\n sampleList: function sampleList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.samplelist, {\n params: _objectSpread({}, params)\n });\n },\n getUserSampleInfo: function getUserSampleInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.get(apis.getusersampleinfo, {\n params: _objectSpread({}, params)\n });\n },\n getSampleInfo: function getSampleInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getsampleinfo, params);\n },\n showClass: function showClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.showClass, params);\n },\n aggSample: function aggSample(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.aggSample, params);\n },\n aggs: function aggs(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.aggs, params);\n },\n ZiYingIndex: function ZiYingIndex(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.ZiYingIndex, params);\n },\n getsamplebanner: function getsamplebanner(params) {\n return axios__WEBPACK_IMPORTED_MODULE_5___default.a.post(apis.getsamplebanner, params);\n }\n};\n\n//# sourceURL=webpack:///./src/api/index.js?");
/***/ }),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment