|
|
//接口主域
|
|
|
var env = process.env.NODE_ENV || 'development';
|
|
|
// exports.domain = 'http://192.168.102.205:18025';
|
|
|
|
|
|
var domain = {
|
|
|
// development:'http://localhost:30011',
|
|
|
// development:'http://172.16.6.236:8080',
|
|
|
development:'http://172.16.6.246:8081/platform',
|
|
|
test:'http://192.168.102.205:18025/yoho-adminportal-web',
|
|
|
preview:'http://192.168.81.13:8189/yoho-admin-portal',
|
|
|
production:'http://192.168.81.6:8189/yoho-admin-portal'
|
|
|
};
|
|
|
|
|
|
exports.domain = domain[env];
|
|
|
exports.domain = require('../config/common.js').domain;
|
|
|
|
|
|
|
|
|
//路由配置
|
...
|
...
|
@@ -29,7 +16,7 @@ exports.res = [{ |
|
|
// 创建店铺页面数据获取
|
|
|
route: '/supplier/store/indexPage',
|
|
|
method: 'POST',
|
|
|
url:"/platform/ShopsRest/getShopList",
|
|
|
url:"/ShopsRest/getShopList",
|
|
|
isJsonRaw:true,
|
|
|
params:[
|
|
|
{name: 'supplierId', type: 'Number'},
|
...
|
...
|
|