Commit 435270e5 authored by szh's avatar szh

concurrent map

parent 8d669837
...@@ -109,9 +109,10 @@ func GetVersion(c *gin.Context) { ...@@ -109,9 +109,10 @@ func GetVersion(c *gin.Context) {
} }
var KP map[string]string //var KP map[string]string
func IsComplete(c *gin.Context){ func IsComplete(c *gin.Context){
var KP map[string]string
appG:=app.Gin{C:c} appG:=app.Gin{C:c}
err:=appG.C.ShouldBindJSON(&KP) err:=appG.C.ShouldBindJSON(&KP)
if err!=nil{ if err!=nil{
...@@ -132,6 +133,7 @@ func IsComplete(c *gin.Context){ ...@@ -132,6 +133,7 @@ func IsComplete(c *gin.Context){
} }
func FeedBack(c *gin.Context){ func FeedBack(c *gin.Context){
var KP map[string]string
appG:=app.Gin{C:c} appG:=app.Gin{C:c}
err:=appG.C.ShouldBindJSON(&KP) err:=appG.C.ShouldBindJSON(&KP)
if err!=nil{ if err!=nil{
...@@ -200,6 +202,7 @@ func GetFeedList(c *gin.Context){ ...@@ -200,6 +202,7 @@ func GetFeedList(c *gin.Context){
} }
func GetUploadInfo(c *gin.Context){ func GetUploadInfo(c *gin.Context){
var KP map[string]string
appG:=app.Gin{C:c} appG:=app.Gin{C:c}
err:=appG.C.ShouldBindJSON(&KP) err:=appG.C.ShouldBindJSON(&KP)
if err!=nil{ if err!=nil{
...@@ -221,6 +224,7 @@ func GetUploadInfo(c *gin.Context){ ...@@ -221,6 +224,7 @@ func GetUploadInfo(c *gin.Context){
} }
func GetUploadTest(c *gin.Context){ func GetUploadTest(c *gin.Context){
var KP map[string]string
appG:=app.Gin{C:c} appG:=app.Gin{C:c}
err:=appG.C.ShouldBindJSON(&KP) err:=appG.C.ShouldBindJSON(&KP)
if err!=nil{ if err!=nil{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment