Commit 1c260d23 by 兰国旗

laolan

parent 8b5f818b
......@@ -90,12 +90,12 @@ var regCfg = {
"石家庄":"130100"
},
channelTypeCode : {
"gszc" : "baidu.gszc",
"kzfw" : "baidu.kzfw",
"gsbg" : "baidu.gsbg",
"gsnb" : "baidu.gsnb",
"sksq" : "baidu.sksq",
"swbd" : "baidu.swbd"
"GSREG" : "baidu.gszc",
"KZFW" : "baidu.kzfw",
"GSCHANGS" : "baidu.gsbg",
"GSNB" : "baidu.gsnb",
"SKSQ" : "baidu.sksq",
"SWBD" : "baidu.swbd"
},
//区分渠道的uappid
uappId : {
......
......@@ -219,9 +219,9 @@ async regPaySuccess(pobj) {
pobj.actionBody.type_name = data.data.type_name;
pobj.actionBody.channel_type_code = data.data.channel_type_code;
pobj.actionBody.channel_type_name = data.data.channel_type_name;
pobj.actionBody.type = pobj.actionBody.channel_type_code;
// pobj.actionBody.type = pobj.actionBody.channel_type_code;
if (pobj.actionBody.channel_type_code) {
pobj.actionBody.channel_type_code = regCfg.channelTypeCode[pobj.actionBody.channel_type_code]
pobj.actionBody.type = regCfg.channelTypeCode[pobj.actionBody.channel_type_code]
}
if (pobj.actionBody.description && pobj.actionBody.description.indexOf("备#") < 0) {
pobj.actionBody.level = "A";
......
......@@ -51,10 +51,10 @@ var settings = {
baiduRegClientParams: function () {
if (this.env == 'dev') {
return {
domain:"https://gwgp-mwnn9gk4o4e.i.bdcloudapi.com",//开发
accessKey:"ed0f5c4c7c2d4e87aa335d9b07bf9bd4",
secretKey:"f600c4e91f6d43998d637401e6e34ef9",
host:"gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
domain:"https://gwgp-fpxfeempcfz.i.bdcloudapi.com",//开发
accessKey:"047935a96ee14ca7a79529fe0688f7dc",
secretKey:"2290966ca6ef4b308c90d720263ec9f7",
host:"gwgp-fpxfeempcfz.i.bdcloudapi.com"
};
}
return {
......
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