|
|
@ -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,
|
|
|
|