master
wubin 5 years ago
parent 8c1f5c1915
commit 576b2071f3

@ -225,7 +225,7 @@ func EnableAccessSystemInfo(c *gin.Context) {
func DisableAccessSystemInfo(c *gin.Context) { func DisableAccessSystemInfo(c *gin.Context) {
//系统ID //系统ID
appId := c.PostForm("appId") appId := c.PostForm("appId")
err := AccessSystemDao.ChangeAppStatus(appId, -1) err := AccessSystemDao.ChangeAppStatus(appId, -2)
if err != nil { if err != nil {
c.JSON(http.StatusOK, Model.Res{ c.JSON(http.StatusOK, Model.Res{
Success: false, Success: false,

@ -113,7 +113,7 @@ func UpdateSso(appId string, redirectUri string, logoutUri string) error {
} }
/** /**
1-1 1-2
*/ */
func ChangeAppStatus(appId string, bUse int32) error { func ChangeAppStatus(appId string, bUse int32) error {
//1、修改数据库 //1、修改数据库

Loading…
Cancel
Save