💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] * * * * * ### WeEngine Android、IOS Commission api #### 我的卡券 * 右上角标签名 tagtitle * 卡券左侧 title3 title2 * 卡券右侧 couponname、 title5 、 merchname不为空显示 限购merchname店铺商品 * 有效期 timestr为空 永久有效 、past为true 即已过期 、都不成立显示 有效期timestr * 使用条 check=2 已过期 、 check=1已使用 、都不成立显示 立即使用 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.sale.mylist *string:openid=默认值#openid *string:cate=默认未使用#类型 used已使用 past已过期 string:page=1#页数 <<< success { "status": 1, "result": { "list": [ { "id": "48", "couponid": "7", "gettime": "1511074905", "timelimit": "0", "coupontype": "0", "timedays": "10", "timestart": "1508774400", "timeend": "1509465599", "thumb": "", "couponname": "优惠券", "enough": "0.00", "backtype": "2", "deduct": "5.00", "discount": "1.00", "backmoney": "1", "backcredit": "1", "backredpack": "1", "bgcolor": "", "merchid": "0", "tagtitle": "购物返现券", "settitlecolor": "0", "titlecolor": "#000000", "past": false, "merchname": "", "timestr": "2017-11-29", "css": "redpack", "backstr": "返现", "backpre": true, "_backmoney": "1", "color": "red ", "check": 0, "title2": "无金额门槛", "title3": "立返", "title5": "立返红包" }, ], "pagesize": 10, "total": "47", } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 卡券详情 * 卡券名: couponname * 内容1: backtype=2 显示 title2立返 否则 显示 title3 * 内容2: backtype=2 显示 backmoney(>0)元余额 backcredit(>0)积分 backredpack(>0)元红包 否则 显示 title2 * 有效期: timestr=0 永久有效 、timestr=1 即 gettypestr 日内 timedays 天有效 、都不成立显示 timestr * * * * * * 所需金额与积分 money>0 或者 credit>0 显示 money>0显示 所需金额:money、 credit>0显示 所需积分:credit * * * * * * 使用商铺 merchname不为空显示 限购merchname店铺商品 * * * * * * 使用说明 desc * * * * * * 领取限制 limitlevel 数组 * * * * * * 有效期限 usetime 换行 buyagent * * * * * * 使用限制 useagent 数组 * * * * * * 立即使用 used不为空 已使用 、past为true 已过期 、coupontype不为空 立即去选商品使用、coupontype=1立即去充值 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.sale.mydetail *string:openid=默认值#openid *string:id=默认值#卡券ID <<< success { "status": 1, "result": { "id": "7", "uniacid": "4", "catid": "0", "couponname": "优惠券", "gettype": "1", "getmax": "0", "usetype": "0", "returntype": "0", "bgcolor": "", "enough": "0.00", "timelimit": "0", "coupontype": "0", "timedays": "10", "timestart": "1508774400", "timeend": "1509465599", "discount": "1.00", "deduct": "5.00", "backtype": "2", "backmoney": "1", "backcredit": "1", "backredpack": "1", "backwhen": "0", "thumb": "", "desc": " 1111 ", "createtime": "1508815886", "total": "100", "status": "0", "money": "1.00", "respdesc": "", "respthumb": "", "resptitle": "", "respurl": "", "credit": "0", "usecredit2": "1", "remark": "", "descnoset": "0", "pwdkey": "", "pwdsuc": "", "pwdfail": "", "pwdurl": "", "pwdask": "", "pwdstatus": "0", "pwdtimes": "0", "pwdfull": "", "pwdwords": "", "pwdopen": "0", "pwdown": "", "pwdexit": "", "pwdexitstr": "", "displayorder": "0", "pwdkey2": "", "merchid": "0", "limitgoodtype": "0", "limitgoodcatetype": "0", "limitgoodcateids": "", "limitgoodids": "", "islimitlevel": "0", "limitmemberlevels": "", "limitagentlevels": "", "limitpartnerlevels": "", "limitaagentlevels": "", "tagtitle": "", "settitlecolor": "0", "titlecolor": "#000000", "limitdiscounttype": "0", "quickget": "0", "gettime": "1511074905", "back": "0", "backtime": "0", "used": "0", "usetime": "0", "past": false, "merchname": "", "timestr": "2017-11-29", "css": "redpack", "backstr": "返现", "backpre": true, "_backmoney": "1", "color": "red ", "title2": "购物任意金额", "title3": "送1元余额 送1积分 送1元红包 " } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~