完善小程序
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
*/
|
||||
module.exports = {
|
||||
// baseUrl: 'http://uv32vz.natappfree.cc', // 本地
|
||||
// baseUrl: 'http://192.168.0.105:7211', // 本地
|
||||
// baseUrl: 'http://192.168.0.105:8116/mall/', // 本地
|
||||
// baseUrl: 'https://39.104.100.138/lpkapi', // 测试服务器
|
||||
// baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
|
||||
baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // 正式服务器
|
||||
baseUrl: 'https://ordermall.yxtsoft.com/lpkapi/mall', // 正式服务器
|
||||
// tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
|
||||
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
|
||||
loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
// 获取轮播图
|
||||
bannerList: (params = {}) => request.get("/wxapi/banner/list", params),
|
||||
// 获取分类和品牌
|
||||
getGoodsTypeAndBrand: (params = {}) => request.get("/lpkgoods/getGoodsTypeAndBrand", {}, {}, {}, true),
|
||||
getGoodsTypeAndBrand: (params = {}) => request.post("/lpkgoods/getGoodsTypeAndBrand", params, {}, {}, true),
|
||||
// 判断企业菜窖是否认证
|
||||
isEnterprise: (params = {}) => request.get("/lpkgoods/isEnterprise/" + params.customerSid + "/" + params.brandId, +
|
||||
params, {}, {}, {}, true, true),
|
||||
|
||||
Reference in New Issue
Block a user