|
@@ -40,6 +40,9 @@ const GandartConstKey = {
|
|
|
PasswordPlainText: 'lkGandartPasswordPlainText',
|
|
PasswordPlainText: 'lkGandartPasswordPlainText',
|
|
|
PrivPayWalletList: 'lkGandartPrivPayWalletList',
|
|
PrivPayWalletList: 'lkGandartPrivPayWalletList',
|
|
|
// -----抢首发相关的-----
|
|
// -----抢首发相关的-----
|
|
|
|
|
+ IsNewCastingMaxNumLimit: 'lkGandartIsNewCastingMaxNumLimit',
|
|
|
|
|
+ NewCastingLockMaxNum: 'lkGandartNewCastingLockMaxNum',
|
|
|
|
|
+
|
|
|
NewCastingPayWalletList: 'lkGandartNewCastingPayWalletList',
|
|
NewCastingPayWalletList: 'lkGandartNewCastingPayWalletList',
|
|
|
NewCastingId: 'lkGandartNewCollectionCastingId',
|
|
NewCastingId: 'lkGandartNewCollectionCastingId',
|
|
|
NewCastingSearchKey: 'lkGandartNewCollectionCastingSearchKey',
|
|
NewCastingSearchKey: 'lkGandartNewCollectionCastingSearchKey',
|
|
@@ -104,13 +107,13 @@ function getCollectionNameById(castingId) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function isCollectionMaxNumLimitEnable() {
|
|
function isCollectionMaxNumLimitEnable() {
|
|
|
- let isEnabled = lk.getVal(GandartConstKey.IsCollectionMaxNumLimit);
|
|
|
|
|
|
|
+ let isEnabled = lk.getVal(GandartConstKey.IsNewCastingMaxNumLimit);
|
|
|
isEnabled = lk.isEmpty(isEnabled) ? false : JSON.parse(isEnabled);
|
|
isEnabled = lk.isEmpty(isEnabled) ? false : JSON.parse(isEnabled);
|
|
|
return isEnabled;
|
|
return isEnabled;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function getCollectionLockMaxNum() {
|
|
function getCollectionLockMaxNum() {
|
|
|
- let num = lk.getVal(GandartConstKey.CollectionLockMaxNum, 6);
|
|
|
|
|
|
|
+ let num = lk.getVal(GandartConstKey.NewCastingLockMaxNum, 6);
|
|
|
return Number(num);
|
|
return Number(num);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -125,7 +128,7 @@ function getMyPasswordPlainText() {
|
|
|
|
|
|
|
|
function getMyPayWalletList() {
|
|
function getMyPayWalletList() {
|
|
|
let str = lk.getVal(GandartConstKey.NewCastingPayWalletList);
|
|
let str = lk.getVal(GandartConstKey.NewCastingPayWalletList);
|
|
|
- let ret = 'A,C';
|
|
|
|
|
|
|
+ let ret = 'C';
|
|
|
if (!lk.isEmpty(str)) {
|
|
if (!lk.isEmpty(str)) {
|
|
|
ret = str;
|
|
ret = str;
|
|
|
}
|
|
}
|