@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.
Files changed (2) hide show
  1. package/index.js +10 -1
  2. 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.45",
3
+ "version": "1.2.47",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {