lizhipay / acg-faka

个人发卡源码,发卡系统,二次元发卡系统,二次元发卡源码,发卡程序,动漫发卡,PHP发卡源码,异次元发卡
MIT License
3.5k stars 690 forks source link

如何调用api? #119

Open lemonorangeapple opened 4 months ago

lemonorangeapple commented 4 months ago

如题,请问/user/api/order/trade 该如何调用?

lemonorangeapple commented 4 months ago

我使用

from requests import *
result = post(url = "http://xxxxx.xxxx/user/api/order/trade", data = {'contact': '', 'password': '', 'coupon': '', 'num': '1', 'commodity_id': '1', 'card_id': '0', 'pay_id': '3', 'device': '0', 'from': '0', 'race': ''}, verify = False)
print(result.text)

访问时只获得了{"code":0,"msg":"请选择商品在下单"}

lemonorangeapple commented 4 months ago

请问应怎样调用此api?