Browse Source

限额修改

jianghan 5 months ago
parent
commit
33e68ecb9c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      JySEPlatform/service/private_service.go

+ 2 - 2
JySEPlatform/service/private_service.go

@@ -347,11 +347,11 @@ func (f *Private) Keydataaccount(world string) {
 				isExport = false
 				reason = append(reason, "企业数据流量包余额不足")
 			}
-			if int64(len(newIdArr)) > resp.Data.Num3 {
+			if resp.Data.Num2 == 0 && int64(len(newIdArr)) > resp.Data.Num3 {
 				isExport = false
 				reason = append(reason, "超出您的每日导出限额")
 			}
-			if int64(len(newIdArr)) > resp.Data.Num5 {
+			if resp.Data.Num4 == 0 && int64(len(newIdArr)) > resp.Data.Num5 {
 				isExport = false
 				reason = append(reason, "超出您的数据导出总量限额")
 			}