|
@@ -367,7 +367,7 @@ func (this *EntExportAuth) SetLimit() {
|
|
}
|
|
}
|
|
if limitId != 0 {
|
|
if limitId != 0 {
|
|
//之前设置过限额,现在只需更新
|
|
//之前设置过限额,现在只需更新
|
|
- limit := Mysql.FindOne("entniche_export_limit", map[string]interface{}{"user_id": userId}, "export_nums,remain_nums,surplus_nums", "")
|
|
|
|
|
|
+ limit := Mysql.FindOne("entniche_export_limit", map[string]interface{}{"user_id": userId}, "export_nums,remain_nums", "")
|
|
if limit != nil {
|
|
if limit != nil {
|
|
setMap := map[string]interface{}{}
|
|
setMap := map[string]interface{}{}
|
|
if reqType == "maxNums" {
|
|
if reqType == "maxNums" {
|