master
wubin 5 years ago
parent 8c1f5c1915
commit 576b2071f3

@ -225,7 +225,7 @@ func EnableAccessSystemInfo(c *gin.Context) {
func DisableAccessSystemInfo(c *gin.Context) {
//系统ID
appId := c.PostForm("appId")
err := AccessSystemDao.ChangeAppStatus(appId, -1)
err := AccessSystemDao.ChangeAppStatus(appId, -2)
if err != nil {
c.JSON(http.StatusOK, Model.Res{
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 {
//1、修改数据库

Loading…
Cancel
Save