Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
5 years ago
Commit
2e1262e97483e3c2229347d6d2f55913d6f61a8f
1 parent
e02b6495
fix session source-review by huangtao
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/activity/controllers/feature.js
apps/activity/controllers/feature.js
View file @
2e1262e
...
...
@@ -85,7 +85,7 @@ exports.couponSend = (req, res, next) => {
// 接口要加 session 校验,跨域异步请求未添加相关参数
if
(
req
.
yoho
.
isApp
||
app
.
client_type
===
'miniapp'
)
{
if
(
app
.
app_version
&&
app
.
client_type
&&
app
.
session_key
&&
app
.
uid
)
{
if
(
app
.
app_version
&&
app
.
client_type
&&
app
.
session_key
&&
app
.
uid
&&
!
req
.
query
.
webSession
)
{
// 小程序调接口获取 session 的方式不同,H5 嵌小程序,client_type 标记为 h5
let
isMiniApp
=
app
.
client_type
===
'miniapp'
;
...
...
Please
register
or
login
to post a comment