Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c4530e11
authored
Oct 23, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
3afe43cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/store/modules/special/index.js
view/app.js
src/store/modules/special/index.js
View file @
c4530e11
...
@@ -25,7 +25,6 @@ const actions = {
...
@@ -25,7 +25,6 @@ const actions = {
actionLogins
({
commit
},
payload
)
{
actionLogins
({
commit
},
payload
)
{
const
toast
=
Toast
.
loading
({
const
toast
=
Toast
.
loading
({
message
:
'...'
,
forbidClick
:
true
forbidClick
:
true
});
});
...
...
view/app.js
View file @
c4530e11
...
@@ -3821,7 +3821,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _cac
...
@@ -3821,7 +3821,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _cac
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"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.10@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.10@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.10@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.10@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.6.3@@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(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(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};\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};\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.10@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.10@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.10@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.10@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.6.3@@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(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(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};\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};\n\n//# sourceURL=webpack:///./src/api/index.js?"
);
/***/
}),
/***/
}),
...
@@ -4326,7 +4326,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
...
@@ -4326,7 +4326,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.7@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n formImgShow: false,\n countDown: false\n};\nvar mutations = {\n getfileuploadbanner: function getfileuploadbanner(state, payload) {\n state.getfileuploadbanner = payload.data;\n },\n articleShowData: function articleShowData(state, payload) {\n state.articleShowData = payload.data;\n }\n};\nvar actions = {\n actionLogins: function actionLogins(_ref, payload) {\n var commit = _ref.commit;\n var toast = vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"].loading({\n
message: '...',\n
forbidClick: true\n });\n var params = {\n account: payload.account,\n sms_verify: payload.sms_verify\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].actionLogins(qs.stringify(params)).then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n setTimeout(function () {\n toast.clear();\n window.location.href = \"/\";\n }, 2000);\n } else {\n toast.clear();\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n smsVerifys: function smsVerifys(_ref2, payload) {\n var commit = _ref2.commit;\n var params = {\n mobile: payload.mobile,\n verify: payload.verify,\n channel: 1\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].smsVerifys(qs.stringify(params)).then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n state.formImgShow = false;\n state.countDown = true;\n } else if (data.err_code == 10001 || data.err_code == 10002) {\n state.formImgShow = true;\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {});\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/special/index.js?"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.7@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n formImgShow: false,\n countDown: false\n};\nvar mutations = {\n getfileuploadbanner: function getfileuploadbanner(state, payload) {\n state.getfileuploadbanner = payload.data;\n },\n articleShowData: function articleShowData(state, payload) {\n state.articleShowData = payload.data;\n }\n};\nvar actions = {\n actionLogins: function actionLogins(_ref, payload) {\n var commit = _ref.commit;\n var toast = vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"].loading({\n forbidClick: true\n });\n var params = {\n account: payload.account,\n sms_verify: payload.sms_verify\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].actionLogins(qs.stringify(params)).then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n setTimeout(function () {\n toast.clear();\n window.location.href = \"/\";\n }, 2000);\n } else {\n toast.clear();\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n smsVerifys: function smsVerifys(_ref2, payload) {\n var commit = _ref2.commit;\n var params = {\n mobile: payload.mobile,\n verify: payload.verify,\n channel: 1\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].smsVerifys(qs.stringify(params)).then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n state.formImgShow = false;\n state.countDown = true;\n } else if (data.err_code == 10001 || data.err_code == 10002) {\n state.formImgShow = true;\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {});\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/special/index.js?"
);
/***/
}),
/***/
}),
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment