Commit a2753b85 by 李宏达

Merge branch 'igirl-web' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-web

parents 3b026810 65a9179a
......@@ -13,9 +13,12 @@ class WxcomponentverifyticketCache extends CacheBase{
this.wxopenplatformconfig = settings.wxopenplatformconfig;
}
async cacheComponentVerifyTicket(value){
console.log("cacheComponentVerifyTicket:value---------------"+value);
var key=this.prefix+this.wxopenplatformconfig.appid;
console.log("cacheComponentVerifyTicket:key---------------"+key);
if(value){
var beforevalue = await this.redisClient.get(key);
console.log("cacheComponentVerifyTicket:beforevalue---------------"+beforevalue);
if(beforevalue!=value){
await this.redisClient.set(key,value);
}
......
......@@ -154,7 +154,9 @@ class EmpowerWxop extends WxopBase{
content: JSON.stringify(result) ,
clientIp: ""
});
console.log("receiveEmpowerMsg:---------------"+result);
if(result){
console.log("receiveEmpowerMsg:---------------"+result.ComponentVerifyTicket);
result=result.xml;
if(result.InfoType=="component_verify_ticket"){//推送component_verify_ticket协议
await this.cacheManager["WxcomponentverifyticketCache"].cacheComponentVerifyTicket(result.ComponentVerifyTicket);
......
......@@ -443,6 +443,8 @@
console.log(this.recommendationsArr,12312312321);
})*/
axios.post('http://106.13.228.212:8011/policy_report', {
"currentpage": size || 1,
"pagesize":15,
"companyname": this.zctext
}).then(d => {
console.log(d);
......
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