inveno

inveno的公共类库


提现接口

<h3>1、提现列表接口</h3> <p>请求地址:/diamond/v1/cash/configs 请求方式:post YApi地址:<a href="http://121.201.120.132:3000/project/11/interface/api/7188">点击打开</a> 请求参数: 无</p> <p>响应参数:</p> <pre><code>{ "code": 0, "message": "success", "data": { "hongbao": [ { "amount": 50, //金额,单位:分 "type": 1, "desc": "描述", "remark": "备注", "cid": 50, //cid "mid": 50, //mid "count": 50, //剩余次数 "day": 1, "needProgress": 3 }, ... ], "mianhuo": [ { //结构同hongbao } ], "choujiang": [ { //结构同hongbao } ], ... } }</code></pre> <h3>2、提现接口</h3> <p>请求地址:/diamond/v1/cash/withdrawals 请求方式:post YApi地址:<a href="http://121.201.120.132:3000/project/11/interface/api/7197">点击打开</a> 请求参数:</p> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>trade_no</td> <td>string</td> <td>随机字符串</td> </tr> <tr> <td>mid</td> <td>string</td> <td>mid</td> </tr> <tr> <td>cid</td> <td>string</td> <td>cid</td> </tr> <tr> <td>openid</td> <td>string</td> <td>用户的openid</td> </tr> </tbody> </table> <p>响应参数:</p> <pre><code>{ "code": 0, "message": "success", "data": { "code": 0, "msg": "提现成功", //提现信息 "partnerTradeNo": "98347592746725345...", //提现订单号 "success": true, //提现是否成功 "sure": 0 //中台真提现到账0:未真实到账,1:真实到账 } }</code></pre> <h3>3、提现控制开关接口</h3> <p>请求地址:<a href="https://monetization.tagtic.cn/rule/v1/calculate/key-withdraw-control-prod">https://monetization.tagtic.cn/rule/v1/calculate/key-withdraw-control-prod</a> 请求方式:get YApi地址:无 请求参数:</p> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>package_name</td> <td>string</td> <td>包名</td> </tr> </tbody> </table> <p>响应参数:</p> <pre><code>{ "code": 0, "data": { "action": "1022,1023", //可提现的版本号 "ecpmRatio": "1022:80,1023:80" //版本号对应的ecpm系数,单位:百分比 } }</code></pre> <h3>4、提现记录接口</h3> <p>请求地址:/diamond/v1/cash/record 请求方式:post YApi地址:无 请求参数:无 响应参数:</p> <pre><code>{ "code": 0, "message": "OK", "data": [ { "uid": 31652944, "openid": "oIGCY6LG6-ODNc9T6dVTz3XQw6k4", "amount": 41, //单位:分 "type": 2, "desc": "【欢乐带货】红包提现", "createTime": "2022-04-21T09:16:59.000+00:00", "partnerTradeNo": "hldh20220421172222304523", "packageName": "com.ywns.hldh", "cid": 101101 }, ... ] }</code></pre>

页面列表

ITEM_HTML