💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## PayCenter [TOC=3,3] ### 获取账户余额 ~~~[api] post:/index.php?ctl=User_Index&met=getUserResourceInfo&typ=json *string:u#u *string:k#key *string:user_id#user_id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": [ { "user_id": "10032", "user_money_pending_settlement": "0.00", "user_money": "0.00", "user_money_frozen": "0.00", "user_recharge_card": "0.00", "user_recharge_card_frozen": "0.00", "user_points": "0.00", "user_points_frozen": "0.00", "user_credit_limit": "0.00", "user_credit_availability": "0.00", "user_credit_return": "0.00", "user_credit_cycle": "30", "id": "10032" } ] } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 支付宝支付 ~~~[api] post:/index.php?ctl=Pay&met=createAliOrder&typ=json *string:u#u *string:k#key *string:uorder_id#订单id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "orderString": "alipay_sdk=alipay-sdk-php-20161101&biz_content=++++++++%7B%0D%0A++++++++++++%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%0D%0A++++++++++++%22out_trade_no%22%3A%22U20180410020548373%22%2C%0D%0A++++++++++++%22subject%22%3A%22100%E5%85%83%E7%94%B5%E8%AF%9D%E5%8D%A1%2C%22%2C%0D%0A++++++++++++%22total_amount%22%3A%220.00%22%2C%0D%0A++++++++++++%22body%22%3A%22100%E5%85%83%E7%94%B5%E8%AF%9D%E5%8D%A1%2C%22%0D%0A++++++++%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=https%3A%2F%2Fsasspaycenter.local.yuanfeng021.com%2Fpaycenter%2Fapi%2Fpayment%2Falipay%2Fnotify_url.php&sign_type=RSA2&timestamp=2018-04-10+14%3A10%3A05&version=1.0&sign=" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 微信支付 ~~~[api] post:/index.php?ctl=Pay&met=createWXOrder&typ=json&trade_type=APP *string:u#u *string:k#key *string:uorder_id#订单id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "orderString": { "appid": "wx918dd3a1bcf41dfa", "mch_id": "1486131912", "nonce_str": "GFtQISjlXAYsyCs0", "prepay_id": "wx1014185881093484308acc332493925227", "result_code": "SUCCESS", "return_code": "SUCCESS", "return_msg": "OK", "sign": "8228F7E6CE45C783FEDB6778BFE0EEA4", "trade_type": "APP" }, "APPID": "wx918dd3a1bcf41dfa", "MCHID": "1486131912", "timeStamp": "1523341138" } } <<< error { "cmd_id": -1, "status": 250, "msg": "支付配置数据错误!", "data": 0 } ~~~ ### paycenter登录 ~~~[api] post:/index.php?ctl=Login&met=check&typ=json *string:u#u *string:k#key <<< success <<< error ~~~