Commit a90f9de3 by 王昆

gsb

parent ba572f4a
......@@ -261,7 +261,7 @@ class EntcontractService extends ServiceBase {
try {
let rs = await axios({
method: 'post',
url: this.URL,
url: settings.settleApiConfig().createMerchantApi,
data: data,
});
var reso = rs.data;
......@@ -762,6 +762,7 @@ class EntcontractService extends ServiceBase {
if (!signInfo) {
return null;
}
// 获取yz配置
let conf = await this.getAppConfig();
// 推送数据
......
......@@ -30,6 +30,17 @@ var settings = {
}
},
apiconfig: {
settleApiConfig: function () {
let domain;
if(settings.env == "dev") {
domain = "http://39.106.185.66:8000";
} else {
domain = "http://payadmin.gongsibao.com";
}
return {
createMerchantApi: domain + "/merchant/busi/reg"
}
},
opLogUrl: function () {
return settings.reqEsAddr() + "bigdata_zc_op_log/_doc?pretty";
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment