ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 用户充值余额 ~~~[api] post:data/api.amount/pay *string:token=75f39364d30dbb30e2efe8fbf6e8445c#授权token *string:type=JSAPI#支付类型 ( JSAPI | NATIVE ) *string:amount=500#充值金额 <<< JSAPI 支付 { "code": 1, "info": "获取支付参数成功", "data": { "appId": "wx60a43dd8161666d4", "timeStamp": "1577181959", "nonceStr": "p155x7y66s6lgqeekfyzv6raflbdztfs", "package": "prepay_id=wx241805598165720bfe3d74011536101300", "signType": "MD5", "paySign": "CEC109FFF7BA6946BF9DED007242C9EF", "timestamp": "1577181959" } } <<< NATIVE 支付 { "code": 1, "info": "获取支付参数成功", "data": { "code": "202001085229196419", "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAAFUAQMAAABBXFb2AAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB9UlEQVRoge2aO5KDMBBEx7UBIUfgKBwNHY2jcARCBy5mNR8JQe1WbeQduboTY3iQDGqNGhFBEPRGjezavzjRwPnUg3kjYn4+yjUGG4592e+cWd4G5jXfnezcww8GsBHZXMMjs0QLP0lLKojWOMkrsIH9FDa/D5k1TfktmcF2wdr/bMR+sBLY0KzKxiaL/x60bFrw370abFcsu6Q3mrL/FlbHcRHYaOwpY2nOl5L5750AG4dV/9VqvnJpycx44TJv5ifQxAz2E9jVZ1OdWuVGH8H54Dofgw3BEp1nbYYs/itadl2UENho7CgDbzhI/LdKhiSvgwcGUzPHgu2QNYM9ak9LGgFN3una+wA2IOtJzipl3UgWJd7K1hrTADYe604765B0/9UnrOVZl7EJtl9WAwNZb/Lurez1MthgbK7mRm2+89MTwEZjrd9h9d9EfpOykhPovLkR2K5Z8pTVvjV7rM6lSWKwQdmxCW+WmghMr/aD5GXdAjYGKwGOV1P9l3fLd7QDKkEP2J7ZU75/Z/bs1SKg8ZbhgQ3C3vddNcXWPQK33ghsFLbZd1X3y6XS76g9g+2fZW4yvHNv3em/YCOzlpm30+VRlypgI7PJFpPkPW1dQ4LtnlVZPFBY9V9pkuTsD14N9t9Zdu31u8if+iiw/bAQBL1J3yuZcruVSzQsAAAAAElFTkSuQmCC" } } <<< 授权失败 { "code": 0, "info": "请登录后再来访问!", "data": [] } ~~~