ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] * * * * * ### WeEngine Android、IOS Commission api #### 领券中心 * 右上角标签名 tagtitle settitlecolor = 1 时标签颜色=titlecolor * 卡券左侧 title3 title2 * 卡券右侧 couponname title5 t>0 显示 剩余 last 张 title4(有效期) * 领取按钮 isdisa=1已发完 否则 立即领取 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.sale *string:openid=默认值#openid string:page=1#页数 string:catid=默认值#分类ID <<< success { "status": 1, "result": { "category": [ { "id": "6", //分类ID "uniacid": "4", "name": "111",//分类名 "displayorder": "0", "status": "1", "merchid": "0" } ], "list": [ { "id": "10", "timelimit": "0", "coupontype": "0", "timedays": "0", "timestart": "1509897600", "timeend": "1510588799", "couponname": "测试", "enough": "0.00", "backtype": "0", "deduct": "1.00", "discount": "0.00", "backmoney": "", "backcredit": "", "backredpack": "", "bgcolor": "", "thumb": "https://127.0.0.1/attachment/images/4/2017/11/FlHp20jT90mcxHh6h694t59tv9h57P.png", "credit": "0", "money": "0.00", "getmax": "0", "merchid": "0", "t": "100", "tagtitle": "代金券", //右上角标签名 "settitlecolor": "0", "titlecolor": "#000000", "free": false, "past": false, "merchname": "", "total": 90, "getstatus": 3, "gettypestr": "领取", "timestr": "0", "css": "deduct", "backstr": "立减", "backpre": true, "_backmoney": "1.00", "cangetmax": -1, "canget": true, "contype": 2, "last": 90, "lastratio": 90, "color": "orange ", "title2": "无金额门槛", "title3": "¥</span>1", "title4": "永久有效", "title5": "消费任意金额立减1" }, ], "pagesize": 10, "total": 4, } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~