@xuda.io/account_module 1.2.50 → 1.2.52
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 +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1417,7 +1417,7 @@ exports.validate_account_topup = async function (uid) {
|
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
1419
|
exports.get_prices = async function (uid, item) {
|
|
1420
|
-
let price
|
|
1420
|
+
let price;
|
|
1421
1421
|
|
|
1422
1422
|
switch (item) {
|
|
1423
1423
|
case user_group:
|
|
@@ -1430,7 +1430,12 @@ exports.get_prices = async function (uid, item) {
|
|
|
1430
1430
|
price = _conf.PRICE_OBJ.deployments[item];
|
|
1431
1431
|
break;
|
|
1432
1432
|
|
|
1433
|
+
case drive_ocr:
|
|
1434
|
+
price = _conf.PRICE_OBJ.drive_ocr_per_month;
|
|
1435
|
+
break;
|
|
1436
|
+
|
|
1433
1437
|
default:
|
|
1438
|
+
price = 0;
|
|
1434
1439
|
break;
|
|
1435
1440
|
}
|
|
1436
1441
|
};
|