master
wubin 5 years ago
parent 4a78016861
commit 03a74d2681

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

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

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

Loading…
Cancel
Save