企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] * * * * * ### WeEngine Android、IOS Commission api #### 卡券详情 * 卡券名: 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 数组 * * * * * * 立即领取 canget 为true可以领取 为false不能领取 、cangetmsg ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.sale.detail *string:openid=默认值#openid *string:id=默认值#卡券ID <<< success { "status": 1, "result": { "id": "10", "uniacid": "4", "catid": "6", "couponname": "测试", "gettype": "1", "getmax": "0", "usetype": "0", "returntype": "0", "bgcolor": "", "enough": "0.00", "timelimit": "0", "coupontype": "0", "timedays": "0", "timestart": "1509897600", "timeend": "1510588799", "discount": "0.00", "deduct": "1.00", "backtype": "0", "backmoney": "", "backcredit": "", "backredpack": "", "backwhen": "0", "thumb": "https://127.0.0.1/attachment/images/4/2017/11/FlHp20jT90mcxHh6h694t59tv9h57P.png", "desc": "", "createtime": "1509940758", "total": 90, "status": "0", "money": "0.00", "respdesc": "", "respthumb": "", "resptitle": "", "respurl": "", "credit": "0", "usecredit2": "0", "remark": "", "descnoset": "0", "pwdkey": "", "pwdsuc": "", "pwdfail": "", "pwdurl": "", "pwdask": "", "pwdstatus": "0", "pwdtimes": "0", "pwdfull": "", "pwdwords": "", "pwdopen": "0", "pwdown": "", "pwdexit": "", "pwdexitstr": "", "displayorder": "5", "pwdkey2": "", "merchid": "0", "limitgoodtype": "0", "limitgoodcatetype": "0", "limitgoodcateids": "", "limitgoodids": "", "islimitlevel": "0", "limitmemberlevels": "", "limitagentlevels": "", "limitpartnerlevels": "", "limitaagentlevels": "", "tagtitle": "", "settitlecolor": "0", "titlecolor": "#000000", "limitdiscounttype": "0", "quickget": "0", "free": false, "past": false, "merchname": "", "getstatus": 3, "gettypestr": "领取", "timestr": "0", "css": "deduct", "backstr": "立减", "backpre": true, "_backmoney": "1.00", "cangetmax": -1, "canget": true, "color": "orange", "title2": "无金额门槛", "title3": "¥1", } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~