Commit 1851a14d by guoxy
parent 04740dd1
......@@ -7,14 +7,19 @@
env = "test"
config = {
"test": {
"url": "https://crm-b.bigaka.net/api",
"tunnel-token": "aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588fe"
"local": {
"url": "http://127.0.0.1",
"1tunnel-token": "aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD",
"seller-token": "f80d09122733517ea4a0c2628c4eb0e9"
},
"dev": {
"url": "http://seller.devapi.bigaka.net",
"tunnel-token": "aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588fe"
},
"test": {
"url": "https://crm-b.bigaka.net/api",
"tunnel-token": "aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588fe"
},
"prod": {
"url": "",
"tunnel-token": ""
......
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import sys
sys.path.insert(0, '..')
from utils import post_data
def get_member():
method = "/platform/brand/getBrandDbByToken?token=aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD"
data = {}
post_data(method, data, "GET")
if __name__ == '__main__':
get_member()
\ No newline at end of file
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import sys
sys.path.insert(0, '..')
from utils import post_data
def get_member():
method = ":8087/account/updatePwd"
data = {}
data["pwd"] = "3873eb629c3923dcf4b2c14b2e17d2480c197e1675cadc2f2c0f24eaa880fed4"
data["pwdForUpdate"] = "aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD"
post_data(method, data)
if __name__ == '__main__':
get_member()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment