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
0dd8597e
authored
May 29, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'h5_zyly_vue_0517' into Development
parents
6d9a5061
73aeebc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
src/api/index.js
view/app.js
src/api/index.js
View file @
0dd8597e
...
@@ -23,15 +23,15 @@ switch (window.location.hostname) {
...
@@ -23,15 +23,15 @@ switch (window.location.hostname) {
urlApi
=
'https://szapi.ichunt.com/'
;
urlApi
=
'https://szapi.ichunt.com/'
;
url
=
'https://szm.ichunt.com/v3/'
;
url
=
'https://szm.ichunt.com/v3/'
;
urlPc
=
'https://sz.ichunt.com/v3/'
;
urlPc
=
'https://sz.ichunt.com/v3/'
;
zyApi
=
'https://
sz
so.ichunt.com'
;
zyApi
=
'https://
t
so.ichunt.com'
;
lyApi
=
'https://szso.ichunt.com'
;
lyApi
=
'https://szso.ichunt.com'
;
break
;
break
;
case
"tm.ichunt.com"
:
case
"tm.ichunt.com"
:
url
=
'https://tm.ichunt.com/v3/'
;
url
=
'https://tm.ichunt.com/v3/'
;
urlApi
=
'https://api.ichunt.com/'
;
urlApi
=
'https://api.ichunt.com/'
;
urlPc
=
'https://t.ichunt.com/v3/'
;
urlPc
=
'https://t.ichunt.com/v3/'
;
zyApi
=
'https://
tso
.ichunt.com'
;
zyApi
=
'https://
so12
.ichunt.com'
;
lyApi
=
'https://
tso
.ichunt.com'
;
lyApi
=
'https://
so12
.ichunt.com'
;
break
;
break
;
case
"m.liexin.com"
:
case
"m.liexin.com"
:
url
=
'http://m.liexin.com/v3/'
;
url
=
'http://m.liexin.com/v3/'
;
...
@@ -39,8 +39,6 @@ switch (window.location.hostname) {
...
@@ -39,8 +39,6 @@ switch (window.location.hostname) {
urlPc
=
'http://www.liexin.com/v3/'
;
urlPc
=
'http://www.liexin.com/v3/'
;
zyApi
=
'http://soso12.ichunt.com'
;
zyApi
=
'http://soso12.ichunt.com'
;
lyApi
=
'http://soso12.ichunt.com'
;
lyApi
=
'http://soso12.ichunt.com'
;
// zyApi = 'https://szso.ichunt.com';
// lyApi = 'https://szso.ichunt.com';
break
;
break
;
default
:
default
:
//本地proxy配置参考vue.config.js
//本地proxy配置参考vue.config.js
...
...
view/app.js
View file @
0dd8597e
...
@@ -4493,7 +4493,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _cac
...
@@ -4493,7 +4493,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 E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime-corejs2@7.4.3@@babel/runtime-corejs2/helpers/esm/objectSpread.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ \"./node_modules/_axios@0.18.0@axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);\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;\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://tso.ichunt.com';\n lyApi = 'https://tso.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'; // zyApi = 'https://szso.ichunt.com';\n // lyApi = 'https://szso.ichunt.com';\n
\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 /**\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 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 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};\nvar services = {\n index: function index(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.index, params);\n },\n loginCheck: function loginCheck(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.loginCheck, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n smsVerify: function smsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.smsVerify, params);\n },\n actionLogin: function actionLogin(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.actionLogin, params);\n },\n feedback: function feedback(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.feedback, params);\n },\n cartCount: function cartCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.cartCount, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n customsrService: function customsrService(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.customsrService, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n getCommonParams: function getCommonParams(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getCommonParams, params);\n },\n wxaccess: function wxaccess(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.wxaccess, params);\n },\n checkAccountExists: function checkAccountExists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.checkAccountExists, params);\n },\n customSmsVerify: function customSmsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.customSmsVerify, params);\n },\n chainFind: function chainFind(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.chainFind, params);\n },\n wechatArticle: function wechatArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.wechatArticle, params);\n },\n newsArticle: function newsArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticle, params);\n },\n newsArticleDetail: function newsArticleDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticleDetail, params);\n },\n newsArticleDetailAd: function newsArticleDetailAd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticleDetailAd, params);\n },\n getUserCurrentPoint: function getUserCurrentPoint(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserCurrentPoint, params);\n },\n isSignInToday: function isSignInToday(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.isSignInToday, params);\n },\n signIn: function signIn(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.signIn, params);\n },\n checkMktScore: function checkMktScore(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.checkMktScore, params);\n },\n getPointPrize: function getPointPrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getPointPrize, params);\n },\n exchangePrize: function exchangePrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.exchangePrize, params);\n },\n recvlist: function recvlist(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.recvlist, params);\n },\n getUserPointExchangeDetail: function getUserPointExchangeDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointExchangeDetail, params);\n },\n pointruleApi: function pointruleApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.pointruleApi, params);\n },\n getUserPointDetail: function getUserPointDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointDetail, params);\n },\n getUserPointExchangeList: function getUserPointExchangeList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointExchangeList, params);\n },\n getAboutUsData: function getAboutUsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getAboutUsData, params);\n },\n getWalletInfo: function getWalletInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.getWalletInfo, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n activateWallet: function activateWallet(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.activateWallet, params);\n },\n sendSafesms: function sendSafesms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.sendSafesms, params);\n },\n verifyResetsms: function verifyResetsms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.verifyResetsms, params);\n },\n walletListLog: function walletListLog(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletListLog, params);\n },\n changeWalletpwd: function changeWalletpwd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.changeWalletpwd, params);\n },\n walletRecordList: function walletRecordList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletRecordList, params);\n },\n verifySafeMobile: function verifySafeMobile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.verifySafeMobile, params);\n },\n getBindBankmsg: function getBindBankmsg(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getBindBankmsg, params);\n },\n bindBankCard: function bindBankCard(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.bindBankCard, params);\n },\n walletRecharge: function walletRecharge(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletRecharge, params);\n },\n walletWithdraw: function walletWithdraw(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletWithdraw, params);\n },\n rechargeWithdrawOrderIfo: function rechargeWithdrawOrderIfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.rechargeWithdrawOrderIfo, params);\n },\n payTodo: function payTodo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.payTodo, params);\n },\n orderInfo: function orderInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.orderInfo, params);\n },\n getZyData: function getZyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchZy, params);\n },\n getLyData: function getLyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchLy, params);\n },\n getLyEsData: function getLyEsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchLyEs, params);\n },\n supplierApi: function supplierApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.supplierApi, params);\n },\n goodDetail: function goodDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.goodDetail, params);\n },\n defaultClass: function defaultClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.defaultClass, params);\n },\n addGood: function addGood(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.addGood, params);\n },\n cartList: function cartList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.cartList, params);\n },\n cartDelete: function cartDelete(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.cartDelete, params);\n },\n allcount: function allcount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.allcount, params);\n },\n confirmBehavior: function confirmBehavior(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.confirmBehavior, params);\n },\n changenum: function changenum(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.changenum, 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 E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime-corejs2@7.4.3@@babel/runtime-corejs2/helpers/esm/objectSpread.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ \"./node_modules/_axios@0.18.0@axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);\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;\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 /**\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 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 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};\nvar services = {\n index: function index(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.index, params);\n },\n loginCheck: function loginCheck(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.loginCheck, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n smsVerify: function smsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.smsVerify, params);\n },\n actionLogin: function actionLogin(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.actionLogin, params);\n },\n feedback: function feedback(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.feedback, params);\n },\n cartCount: function cartCount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.cartCount, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n customsrService: function customsrService(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.customsrService, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n getCommonParams: function getCommonParams(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getCommonParams, params);\n },\n wxaccess: function wxaccess(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.wxaccess, params);\n },\n checkAccountExists: function checkAccountExists(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.checkAccountExists, params);\n },\n customSmsVerify: function customSmsVerify(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.customSmsVerify, params);\n },\n chainFind: function chainFind(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.chainFind, params);\n },\n wechatArticle: function wechatArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.wechatArticle, params);\n },\n newsArticle: function newsArticle(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticle, params);\n },\n newsArticleDetail: function newsArticleDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticleDetail, params);\n },\n newsArticleDetailAd: function newsArticleDetailAd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.newsArticleDetailAd, params);\n },\n getUserCurrentPoint: function getUserCurrentPoint(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserCurrentPoint, params);\n },\n isSignInToday: function isSignInToday(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.isSignInToday, params);\n },\n signIn: function signIn(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.signIn, params);\n },\n checkMktScore: function checkMktScore(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.checkMktScore, params);\n },\n getPointPrize: function getPointPrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getPointPrize, params);\n },\n exchangePrize: function exchangePrize(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.exchangePrize, params);\n },\n recvlist: function recvlist(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.recvlist, params);\n },\n getUserPointExchangeDetail: function getUserPointExchangeDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointExchangeDetail, params);\n },\n pointruleApi: function pointruleApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.pointruleApi, params);\n },\n getUserPointDetail: function getUserPointDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointDetail, params);\n },\n getUserPointExchangeList: function getUserPointExchangeList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getUserPointExchangeList, params);\n },\n getAboutUsData: function getAboutUsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getAboutUsData, params);\n },\n getWalletInfo: function getWalletInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.get(apis.getWalletInfo, {\n params: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, params)\n });\n },\n activateWallet: function activateWallet(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.activateWallet, params);\n },\n sendSafesms: function sendSafesms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.sendSafesms, params);\n },\n verifyResetsms: function verifyResetsms(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.verifyResetsms, params);\n },\n walletListLog: function walletListLog(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletListLog, params);\n },\n changeWalletpwd: function changeWalletpwd(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.changeWalletpwd, params);\n },\n walletRecordList: function walletRecordList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletRecordList, params);\n },\n verifySafeMobile: function verifySafeMobile(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.verifySafeMobile, params);\n },\n getBindBankmsg: function getBindBankmsg(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.getBindBankmsg, params);\n },\n bindBankCard: function bindBankCard(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.bindBankCard, params);\n },\n walletRecharge: function walletRecharge(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletRecharge, params);\n },\n walletWithdraw: function walletWithdraw(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.walletWithdraw, params);\n },\n rechargeWithdrawOrderIfo: function rechargeWithdrawOrderIfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.rechargeWithdrawOrderIfo, params);\n },\n payTodo: function payTodo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.payTodo, params);\n },\n orderInfo: function orderInfo(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.orderInfo, params);\n },\n getZyData: function getZyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchZy, params);\n },\n getLyData: function getLyData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchLy, params);\n },\n getLyEsData: function getLyEsData(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.searchLyEs, params);\n },\n supplierApi: function supplierApi(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.supplierApi, params);\n },\n goodDetail: function goodDetail(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.goodDetail, params);\n },\n defaultClass: function defaultClass(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.defaultClass, params);\n },\n addGood: function addGood(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.addGood, params);\n },\n cartList: function cartList(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.cartList, params);\n },\n cartDelete: function cartDelete(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.cartDelete, params);\n },\n allcount: function allcount(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.allcount, params);\n },\n confirmBehavior: function confirmBehavior(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.confirmBehavior, params);\n },\n changenum: function changenum(params) {\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(apis.changenum, params);\n }\n};\n\n//# sourceURL=webpack:///./src/api/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