...
|
...
|
@@ -43,13 +43,15 @@ export default { |
|
|
* @param code
|
|
|
* @returns {*}
|
|
|
*/
|
|
|
wechatMiniAppLogin(appId, code) {
|
|
|
wechatMiniAppLogin(code) {
|
|
|
const app = getApp();
|
|
|
|
|
|
return api.get({
|
|
|
url: '/wechat/',
|
|
|
data: {
|
|
|
method: 'wechat.smallProgram.onLogin',
|
|
|
jsCode: code,
|
|
|
appId
|
|
|
miniapp_type: app.getMiniappType()
|
|
|
}
|
|
|
});
|
|
|
},
|
...
|
...
|
|