### 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
}
}
}
~~~
