Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
a2753b85
Commit
a2753b85
authored
Dec 05, 2019
by
李宏达
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'igirl-web' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-web
parents
3b026810
65a9179a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
igirl-web/app/base/db/cache/wxcomponentverifyticketCache.js
+3
-0
igirl-web/app/base/wxop/impl/empowerWxop.js
+2
-0
igirl-web/app/front/vues/pages/recommen/recommen.js
+2
-0
No files found.
igirl-web/app/base/db/cache/wxcomponentverifyticketCache.js
View file @
a2753b85
...
...
@@ -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
);
}
...
...
igirl-web/app/base/wxop/impl/empowerWxop.js
View file @
a2753b85
...
...
@@ -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
);
...
...
igirl-web/app/front/vues/pages/recommen/recommen.js
View file @
a2753b85
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment