企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### WeEngine Android、IOS Creditshop api #### 积分商品详情 * 底部兑换按钮 canbuy && type==1 立即抽奖 红色 * 底部兑换按钮 canbuy && type!=1 立即兑换 红色 * 底部兑换按钮 canbuy false 显示 buymsg 灰色 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.creditshop.detail *string:id=0#商品ID <<< success { "status": 1, "result": { "goods":{ "id": "", //商品ID "uniacid": "", //公众号ID "displayorder": "", //排序 "title": "", //商品名 "cate": "", //分类ID "thumb": "", "price": "4.50", "type": "0", "credit": "1", "money": 0, "total": " ", //仅限份数 "totalday": "1", "chance": "1", "chanceday": "0", "detail": "", "rate1": "0", "rate2": "0", "endtime": "1510803000", "joins": "0", //已参与次数 "views": "25", "createtime": "0", "status": "1", "deleted": "0", "showlevels": "", "buylevels": "", "showgroups": "", "buygroups": "", "vip": "0", "istop": "0", "isrecommand": "1", "istime": "", //是否限时购买 0否 1是 "timestart": "", //限时购买开始时间戳 "timeend": "", //限时购买结束时间戳 "share_title": "", "share_icon": "", "share_desc": "", "followneed": "0", "followtext": "您必须关注我们的公众帐号,才能参加活动哦!", "subtitle": "", "subdetail": "", "noticedetail": "", "usedetail": "", "goodsdetail": "", "isendtime": "0", "usecredit2": "0", "area": "", "dispatch": "0.00", "storeids": "", "noticeopenid": "", "noticetype": "0", "isverify": "0", "goodstype": "0", //类型 0商品 1优惠券 2余额 3红包! "couponid": "0", "goodsid": "632", "merchid": "0", "productprice": "0.00", "mincredit": "1.00", "minmoney": 111, "maxcredit": "1.00", "maxmoney": "111.00", "dispatchtype": "0", "dispatchid": "0", "verifytype": "0", "verifynum": "0", "grant1": "0.00", "grant2": "0.00", "goodssn": "", "productsn": "", "weight": "0", "showtotal": "0", "totalcnf": "0", "usetime": "0", "hasoption": "1", "noticedetailshow": "0", "detailshow": "0", "packetmoney": "0.00", "surplusmoney": "0.00", "packetlimit": "0.00", "packettype": "0", "minpacketmoney": "0.00", "packettotal": "0", "packetsurplus": "0", "acttype": 1, "timestart_str": "2017-11-16 15:13", //限时购买开始时间 "timeend_str": "2017-11-16 15:40", //限时购买结束时间 "timestate": "", "canbuy": false, "logcount": "0", "buymsg": "积分不足", "followurl": "", "followed": false } } } ~~~ ![积分商品详情](https://box.kancloud.cn/3d42849b59e01d3a3a38b002498808aa_712x683.png)