import requests
data = {
    "username":"pengyanbing",
    'password':"15112376559"
}
# url = 'http://192.168.2.28:5000/login'
# resp = requests.post(url,json=data)
url = 'http://192.168.2.28:5000/user/members/index'
resp = requests.get(url,headers={'inventory-token':'fFZ7P4XpSA6nxaH7Xw7aHQ'})

print(resp.content.decode('utf-8'))



























DB_CONFIG = {
    'host': '120.77.232.73',
    'port': 3306,
    'user': 'yswg_it_cangchu',
    'password': 'Yswg@inv-cangchu241011420',
    'db': 'inventory'
}
# REDIS_CONN = {
#     "redis_host": "120.77.232.73",
#     "redis_port": 6379,
#     "redis_pwd": "yswgInventoryTest@202307#",
#     "redis_db": 1
#
# }
REDIS_CONN = {
    "redis_host": "113.100.143.162",
    "redis_port": 6379,
    "redis_pwd": "fG7#vT6kQ1pX",
    "redis_db": 14

}