Authored by 李奇

onLogin接口支持动态appId

import config from '../../config';
import { api } from '../../common/api';
export default {
... ... @@ -50,8 +49,7 @@ export default {
data: {
method: 'wechat.smallProgram.onLogin',
jsCode: code,
app_id: appId,
miniapp_type: config.mini_app_type
appId
}
});
},
... ...