多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:v002/Recharges/apple *int:udid#用户ID *varchar:token#Token *int:cid#商品ID *int:amount#支付金额 *varchar:number#订单编号 *varchar:receipt#apple收据 <<< 请求成功 { "data": { "message": "支付成功,金额已到账", "u_balance": "1234.56" }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "number": "17061010000051201200", "receipt": "abcdefg**********" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "number": "17061010000051201200", "receipt": "abcdefg**********" } } <<< 验证失败 { "data": { "message": "订单验证失败,请重新下单" }, "code": 400, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "number": "17061010000051201200", "receipt": "abcdefg**********" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "number": "17061010000051201200", "receipt": "abcdefg**********" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示信息 | | <img src="http://star.img.livestaring.com/Document/Recharges/pay.png">