@xuda.io/account_module 1.2.45 → 1.2.47
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 +10 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1416,7 +1416,16 @@ exports.validate_account_topup = async function (uid) {
|
|
|
1416
1416
|
return true;
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
|
-
exports.get_prices = async function (uid) {
|
|
1419
|
+
exports.get_prices = async function (uid, item) {
|
|
1420
|
+
let price = 0;
|
|
1421
|
+
switch (item) {
|
|
1422
|
+
case user_group:
|
|
1423
|
+
break;
|
|
1424
|
+
|
|
1425
|
+
default:
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
};
|
|
1420
1429
|
// setTimeout(async () => {
|
|
1421
1430
|
// const uid = "0489f946c213947316647b468f029ed9"; //"aecc740881fd0a35098c738652000fab";
|
|
1422
1431
|
|