fuwencai 4 年之前
父節點
當前提交
cf8be5543c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      static/templates/projectList.html
  2. 1 0
      utils/api_util.go

+ 1 - 0
static/templates/projectList.html

@@ -14,6 +14,7 @@
         <input type="text" id="bidTime" placeholder="请输入中标日期">
         <button type="button" id="projectListBtn">提交</button>
     </div>
+    <div id="resultContent"></div>
     <div id="tableDiv" hidden>
         <table border="0" id="tableId">
             <thead>

+ 1 - 0
utils/api_util.go

@@ -69,6 +69,7 @@ func Check(appID string, productID int, c *gin.Context, getData func() ([]map[st
 		Exists, _ := redis.Exists("limit", limitrate)
 		if Exists {
 			response.FailWithDetailed(response.CallRate, nil, "请求频率过快,请稍后重试", c)
+			return
 		}
 	}
 	//2.2 取用户(产品余量|钱包账户余额)校验-必须加锁