Authored by shuaiguo

Merge remote-tracking branch 'refs/remotes/origin/hotfix/couponWebSession' into develop

... ... @@ -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 && !req.query.webSession) {
if (app.app_version && app.client_type && app.session_key && app.uid && req.query.webSession !== 'true') {
// 小程序调接口获取 session 的方式不同,H5 嵌小程序,client_type 标记为 h5
let isMiniApp = app.client_type === 'miniapp';
... ...