qcloud
V2EX  ›  问与答

网站管理员的数据库字段问题

  •  
  •   qcloud · Jul 2, 2016 · 1760 views
    This topic created in 3785 days ago, the information mentioned may be changed or developed.

    朋友的一个站,他说网站管理管理员的超级管理员权限被取消了,我就去他的数据库看了一下,在那个管理员表中有一个 super 字段,目前 4 个管理员都是 0 ,在大多数情况下,如果我改成 1 是不是就是超级管理员身份了?

    3 replies  •  2016-07-03 10:59:49 +08:00
    shoaly
    shoaly
    Jul 2, 2016❤️1
    1
    试试, 不行再改回来
    yeyeye
    yeyeye
    Jul 3, 2016❤️1
    2
    在源码里搜索“超级管理员” 可以找到相关的判断语句 然后改成对应的数字
    qcloud
    qcloud
    OP
    Jul 3, 2016
    3
    @yeyeye 已解决哈兄弟
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:54 · PVG 12:54 · LAX 20:54 · JFK 23:54
    ♥ Do have faith in what you're doing.