master
wubin 5 years ago
parent 4a78016861
commit 03a74d2681

@ -24,7 +24,7 @@ KafkaAccessLogTopic = dsAccessLog
# ----------------------------------------------------------------------------------------------------
[server] #gin服务器的端口
port = 8000
port = 80
# 验证码的有效时间,单位:秒
CaptchaExpireTime = 120

@ -56,9 +56,9 @@ func Routers(r *gin.RouterGroup) {
//解除绑定
r.POST("/unBindWxUser", unBindWxUser)
//添加接入系统
r.GET("/AddClient", AddClient)
r.POST("/AddClient", AddClient)
//删除接入系统
r.GET("/DelClient", DelClient)
r.POST("/DelClient", DelClient)
return
}

@ -53,7 +53,7 @@ func AddApp(appCode string, appName string, sortId int32) error {
}
model.SortId = sortId
model.BUse = 1
_, err := db.Insert(&model)
_, err := db.Insert(model)
if err != nil {
return err
}

Loading…
Cancel
Save