-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from midoks/dev
0.13.6
- Loading branch information
Showing
11 changed files
with
235 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# coding:utf-8 | ||
|
||
# --------------------------------------------------------------------------------- | ||
# MW-Linux面板 | ||
# --------------------------------------------------------------------------------- | ||
# copyright (c) 2018-∞(https://github.com/midoks/mdserver-web) All rights reserved. | ||
# --------------------------------------------------------------------------------- | ||
# Author: midoks <[email protected]> | ||
# --------------------------------------------------------------------------------- | ||
|
||
# --------------------------------------------------------------------------------- | ||
# VIP用户管理 | ||
# --------------------------------------------------------------------------------- | ||
|
||
import mw | ||
|
||
from flask import request | ||
|
||
|
||
class vip_api: | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def loginApi(self): | ||
username = request.form.get('username', '') | ||
password = request.form.get('password', '') | ||
|
||
print(username, password) | ||
|
||
password = mw.aesEncrypt( | ||
password, 'ABCDEFGHIJKLMNOP', '0102030405060708') | ||
|
||
print(password) | ||
|
||
p = mw.aesDecrypt(password, 'ABCDEFGHIJKLMNOP', '0102030405060708') | ||
print(p) | ||
|
||
return mw.returnJson(False, "测试中!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
存放VIP关键数据 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters