We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
需要修改的文件是switchrule.py
默认: def getKeys(key_list): return key_list #return key_list + [‘plan’] # append the column name ‘plan’
def isTurnOn(row): return True #return row[‘plan’] == ‘B’ # then judge here
如上的 plan→g = 群组 plan→level = 级别
别忘了注释
示例 只允许群组1: def getKeys(key_list): #return key_list return key_list + [‘g’] # append the column name ‘plan’
def isTurnOn(row): #return True return row[‘g’] == ‘1’ # then judge here