service/userservice.js
@@ -58,13 +58,31 @@ }, //场景信息认证 authScene: function (userId, info, fun) { authScene: function (wxUserId, sceneType, sceneInfo, fun) { let cb = { url: '/wxuser/loginPW', data: accessTokenPW, url: '/auth/scene', params: { wxUserId: wxUserId, sceneType: sceneType }, data: sceneInfo, } Object.assign(cb, fun) $f.post(cb) }, //获取用户认证状态 getAuthStatus: function (wxUserId, userId, fun) { let cb = { url: `/auth/status`, params: { wxUserId: wxUserId, userId: userId } } Object.assign(cb, fun) $f.get(cb) }, }