From 6e71fbcb119e7068ba35380edaa5cc66e7c71f1b Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 27 十月 2022 16:21:05 +0800 Subject: [PATCH] 交易体系完善 --- authority.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/authority.py b/authority.py index c976654..de9ebd1 100644 --- a/authority.py +++ b/authority.py @@ -6,6 +6,8 @@ # 鏂板鐢ㄦ埛 + + def add_user(id, account, pwd, rule): mysqldb = mysql_data.Mysqldb() @@ -57,6 +59,11 @@ return result[0], results_[1] + + + + + if __name__ == '__main__': # add_rule("super", ["l2", "limit_up", "industry", "trade_success", "trade_delegate", "code_upload"]) # add_rule("client-l2", ["l2", "limit_up", "trade_success", "trade_delegate"]) -- Gitblit v1.8.0