## 接口情況
作者:Luffy
* * * * *
時間:2015年5月15日 14:31:11
* * * * *
作用:加入購物車
* * * * *
說明:商品加入購物車,不可批量添加,一次只能添加一個商品
* * * * *
提交方法:POST/GET
* * * * *
##提交參數:
~~~
mobile:手機號碼
goods_id:商品id,多個數量以","號隔開
nums:商品數量,多個數量以","號隔開
~~~
* * * * *
所在文件:
> /app/lingsqapi/lib/api/order.php
## 接口地址:
* * * * *
~~~
http://test.lingsq.com/index.php/api?debug=1&method=lingsqapi.api.order.addToCart
~~~
* * * * *
請求示例:
> http://test.lingsq.com/index.php/api?method=lingsqapi.api.order.addToCart&mobile=18507907279&goods_id=306,335&nums=2,20&os=ios&key=xxxxxx
* * * * *
[點擊查看文檔http://www.hmoore.net/ncgis/shope](http://www.hmoore.net/ncgis/shopex/codemsgpex/codemsg)
- 手機是否使用驗證接口
- 返回碼所代表的含義
- 發送手機驗證碼接口
- 用戶注冊接口
- 獲取商品所有分類
- 獲取商品列表
- 用戶登陸接口
- 獲取商品詳細信息
- 獲取產品圖文詳情
- 獲取商品評論列表
- 獲取推薦商品
- 獲取找回密碼短信
- 重置密碼
- 獲取每日特惠商品
- 獲取輪播圖
- 用戶中心首頁
- 獲取用戶收藏商品
- 刪除用戶收藏商品
- 獲取所有訂單(所有訂單、代付款訂單、待收貨訂單、退換貨訂單)
- 加入購物車
- 獲取購物車商品
- 刪除購物車商品
- 購物車商品移入收藏夾
- 添加收貨地址
- 獲取用戶收貨地址
- 添加用戶收藏
- 提交訂單
- 填寫訂單
- 退出登錄
- 確認支付成功(正在驗證支付狀態)
- 驗證自動登陸
- 獲取訂單詳情
- 設置默認收貨地址
- 刪除收貨地址
- 修改收貨地址