[TOC]
* * * * *
### WeEngine Android、IOS Credit api
#### 余额明细列表
~~~[api]
POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.log.get_list
*string:type=0#0充值记录 1提现记录 2竞猜记录
*string:page=1#页码
*string:openid=默认值#openid
<<<
success
{
"status": 1,
"result": {
"list": [
{
"id": "",
"uniacid": "4",
"openid": "",
"type": "0",
"logno": "RC20171115165957248844",
"title": "",
"createtime": "2017-11-15 16:59", //时间
"status": "1",
"money": "", //金额
"rechargetype": "system",
"gives": null,
"couponid": "0",
"transid": "",
"realmoney": "0.00",
"charge": "0.00",
"deductionmoney": "0.00",
"isborrow": "0",
"borrowopenid": "",
"remark": "",
"apppay": "0",
"alipay": "",
"bankname": "",
"bankcard": "",
"realname": "",
"applytype": "0",
"sendmoney": "0.00",
"senddata": null,
"idcard": "",
"typestr": "微信钱包"
}
......
],
"total": "2", //数量
"pagesize": 10, //每页数量
}
}
<<<
error
{
"status": 0,
"result": {
"message": "错误信息"
}
}
~~~
#### 余额提现
~~~[api]
POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.withdraw
*string:openid=默认值#openid
<<<
success
{
"status": 1,
"result": {
"result": {
"moneytext": "余额",
"credit": 0, //可提现余额
"type_array": { //提现方式
"3": {
"title": "提现到银行卡"
}
},
"withdrawcharge": "",
"withdrawbegin": 0,
"withdrawend": 0,
"last_data": false,
"banklist": [ //银行列表
{
"id": "14",
"uniacid": "4",
"bankname": "工商",
"content": "",
"status": "1",
"displayorder": "0"
}
],
"withdrawmoney": ""
},
}
}
<<<
error
{
"status": 0,
"result": {
"message": "错误信息"
}
}
~~~
#### 余额提现操作
~~~[api]
POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.withdraw.submit
*string:openid=默认值#openid
*string:money=默认值#提现金额
*string:applytype=3#提现方式 银行卡
*string:realname=默认值#姓名
*string:bankname=默认值#银行
*string:bankcard=默认值#银行卡号
*string:bankcard1=默认值#确认银行卡号
*string:idcard=默认值#身份证号
<<<
success
{
"status": 1,
"result": {
}
}
<<<
error
{
"status": 0,
"result": {
"message": "错误信息"
}
}
~~~