新增代理人身份判断
This commit is contained in:
@@ -123,11 +123,13 @@ function getConfig() {
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/activity/h5/dayConsume',
|
||||
data:{uid:pubInfo.uid},
|
||||
data: { uid: pubInfo.uid },
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
// 分区规则
|
||||
$('.rule .rule_in .box').html(res.data.partitionId == 2 ? langReplace(localLang.demoModule.arRule) : langReplace(localLang.demoModule.enRule));
|
||||
// 处理是否代理人
|
||||
res.data.rechargeUser ? $('.myBox').show() : $('.myBox').hide();
|
||||
// 处理倒计时
|
||||
countup(res.data.endTime - res.timestamp);
|
||||
// 处理顶部进度以及个人信息
|
||||
|
@@ -4,7 +4,7 @@ langEn = {
|
||||
layerIndex2: `Success`,
|
||||
layerIndex3: `Network error`,
|
||||
text1: `Daily Consumption`,
|
||||
text2: `Rule`,
|
||||
text2: `Rules`,
|
||||
text3: `Hour`,
|
||||
text4: `Min`,
|
||||
text5: `Sec`,
|
||||
|
Reference in New Issue
Block a user