@xuda.io/account_module 1.2.104 → 1.2.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1361,7 +1361,9 @@ const get_prices = function (uid, item) {
|
|
|
1361
1361
|
return price;
|
|
1362
1362
|
};
|
|
1363
1363
|
|
|
1364
|
-
exports.create_account_oauth_link = async function (req) {
|
|
1364
|
+
exports.create_account_oauth_link = async function (req) {
|
|
1365
|
+
return { code: 1, data: `https://accounts.google.com/o/oauth2/v2/auth?scope=https://mail.google.com/&access_type=offline&include_granted_scopes=true&response_type=code&state=this.$store.state.USER_DATA.UID&redirect_uri=https://dev.xuda.io/oauth&client_id=${_conf.gmail.clientId} };
|
|
1366
|
+
};
|
|
1365
1367
|
|
|
1366
1368
|
// setTimeout(async () => {
|
|
1367
1369
|
// const uid = "0489f946c213947316647b468f029ed9"; //"aecc740881fd0a35098c738652000fab";
|