mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
984 B
31 lines
984 B
# coding:utf-8
|
|
|
|
# ---------------------------------------------------------------------------------
|
|
# MW-Linux面板
|
|
# ---------------------------------------------------------------------------------
|
|
# copyright (c) 2018-∞(https://github.com/midoks/mdserver-web) All rights reserved.
|
|
# ---------------------------------------------------------------------------------
|
|
# Author: midoks <midoks@163.com>
|
|
# ---------------------------------------------------------------------------------
|
|
|
|
# ---------------------------------------------------------------------------------
|
|
# 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)
|
|
|
|
return mw.returnJson(False, "测试中!")
|
|
|