##### 1、下架商品
~~~[api]
post:index.php?ctl=Seller_Goods&met=editGoodsCommon&typ=json&act=down
*row:chk#下架id
<<<
success
cmd_id:-140
data:[]
msg:"success"
status:200
<<<
error
cmd_id:-140
data:[]
msg:"failure"
status:250
~~~
##### 2、上架商品
~~~[api]
post:/index.php?ctl=Seller_Goods&met=editGoodsCommon&typ=json&act=up
*row:chk#上架id
<<<
success
cmd_id:-140
data:[]
msg:"success"
status:200
<<<
error
cmd_id:-140
data:[]
msg:"failure"
status:250
~~~
##### 3、刪除商品
~~~[api]
post:/index.php?ctl=Seller_Goods&met=deleteGoodsCommon&typ=json
*row:id#商品id
<<<
success
cmd_id:-140
data:{id: id}
msg:"success"
status:200
<<<
error
cmd_id:-140
data:{id: id}
msg:"success"
status:200
~~~
##### 4、商品發布
~~~[api]
post:/index.php?ctl=Seller_Goods&met=addOrEditShopGoods&typ=json
*string:name#商品名稱
string:promotion_tips#促銷提示
*float:price#商品價格
*float:market_price#市場價
*int:stock#商品庫存
*float:cubage#商品重量
*string:imagePath#商品主圖
string:service#售后服務
int:alarm#庫存預警值
int:limit#限購
string:code#商家編號
<<<
success
<<<
error
~~~
##### 5、新增規格
~~~[api]
post:/index.php?ctl=Seller_Goods_Spec&met=saveSpecValue&typ=json&position=storeAddGoods
*string:spec_id=默認值#說明文字
*name#規格名
<<<
success
<<<
error
~~~
##### 6、物流信息 所在地
~~~[api]
post:/index.php?ctl=Base_District&met=district&pid=0&typ=json
*int:pid#父id
<<<
success
<<<
error
~~~
##### 7、添加新版式
~~~[api]
post:/index.php?ctl=Seller_Goods&met=addFormatRow&typ=json
*string:name#版式名稱
*string:position#版式位置
*string:content#版式內容
<<<
success
<<<
error
~~~
##### 8、編輯版式
~~~[api]
post:/index.php?ctl=Seller_Goods&met=editFormatRow&typ=json
*int:id#版式id
*string:name#版式名稱
*string:position#版式位置
*string:content#版式內容
<<<
success
<<<
error
~~~
##### 8、刪除版式
~~~[api]
post:/index.php?ctl=Seller_Goods&met=deleteGoodsFormat&typ=json
*int:id#版式id
<<<
success
<<<
error
~~~
##### 9、批量刪除版式
~~~[api]
post:/index.php?ctl=Seller_Goods&met=deleteGoodsFormatRows&typ=json
*row:id#版式id
<<<
success
<<<
error
~~~
##### 10、添加/修改商品規格
~~~[api]
post:/index.php?ctl=Seller_Goods_Spec&met=saveSpecValue&typ=json&spec_id=
*row:old#
*row:new#
*int:spec_id#
*string:name#
*position:position#
*int:cat_id#
<<<
success
<<<
error
~~~
##### 11、刪除規格值
~~~[api]
post:/index.php?ctl=Seller_Goods_Spec&met=removeSpecValue&typ=json
*string:spec_value_id#規格值id
<<<
success
<<<
error
~~~
##### 12、添加圖片分組
~~~[api]
post:/index.php?ctl=Seller_Album&met=addAlbum&typ=json
*string:album_desc#分組名稱
<<<
success
<<<
error
~~~
##### 13、修改分組
~~~[api]
post:/index.php?ctl=Seller_Album&met=renameAlbum&typ=json
*int:album_id#分組id
*string:album_desc#分組名稱
<<<
success
<<<
error
~~~
##### 14、刪除分組
~~~[api]
post:/index.php?ctl=Seller_Album&met=removeAlbum&typ=json
*int:album_id#分組id
<<<
success
<<<
error
~~~
##### 15、刪除操作
~~~[api]
post:/index.php?ctl=Seller_Album&met=remove&typ=json
*row:upload_id#
<<<
success
<<<
error
~~~
##### 16、獲取所在地
~~~[api]
get:/index.php?ctl=Base_District&met=district&pid=0&typ=json
*int:pid#父id
<<<
success
<<<
error
~~~
##### 17、獲取商品分類
~~~[api]
get:/index.php?ctl=Seller_Goods_Cat&met=cat&typ=json
*int:cat_id#分類id
<<<
success
<<<
error
~~~
##### 17、導入商品
~~~[api]
post:/index.php?ctl=Seller_Goods_TBImport&met=addGoods&typ=json
*string:file_path#文件路徑
<<<
success
<<<
error
~~~
>[warning]商品common表內商品已下架但是goods_base表商品未下架,同步商品規格時請注意common表該商品是否已下架
- 序言
- 系統要求
- 版本更新日志
- 遠豐商城技術對接說明
- 開發指導
- 系統架構
- 負載集群
- 云存儲
- 框架內容
- 基礎
- 開發規范
- 目錄結構
- 架構
- 架構總覽
- 數據庫
- 數據庫連接
- 基本使用
- 緩存
- 配置
- 路由
- 數據字典
- ucenter
- shop
- paycenter
- ucenter_admin
- shop_admin
- paycenter_admin
- shop1
- shop2
- shop3
- 通訊內容
- 商家中心
- 頂部導航欄
- 店鋪信息欄
- 店鋪及商品提示欄
- 交易提示欄
- 銷售情況統計欄
- 集群架構圖
- 單品銷量排行欄
- 店鋪運營推廣欄
- 平臺聯系方式欄
- 訂單物流
- 商品
- 商品列表
- 商品詳情
- 商品發布與編輯
- 分銷商品
- 關聯版式
- 商品規格
- 圖片空間
- 淘寶導入
- 訂單流程
- 交易訂單
- 訂單退款/退貨
- 促銷
- 團購管理
- 加價購
- 限時折扣
- 滿即送
- 代金券管理
- 分銷
- 店鋪
- 店鋪設置
- 自銷產品供應商
- 實體店鋪
- 品牌申請
- 店鋪信息
- 消費者保障服務
- 門店賬號
- 分銷商--產品供應商
- 分銷明細
- 批發市場
- 商家微信公眾號
- 售后服務
- 咨詢管理
- 投訴管理
- 退款管理
- 退貨管理
- 雜項
- 遠程上傳圖片
- 接口(廢棄,參考最外層接口項)
- 接口說明
- 品牌
- 商品規格
- 商品類型
- 商品分類
- 商品
- 訂單
- 商品/店鋪收藏
- 足跡
- 退款及退貨
- 商家店鋪
- 會員
- 入駐協議
- 訂單接口
- 商品接口
- 訂單物流接口
- 商家中心接口
- 促銷接口
- 快遞鳥物流接口
- 代金券接口
- 首頁版塊
- 團購
- 平臺紅包
- 限時折扣接口
- 拼團接口
- wap首頁模板
- JS
- 銀聯支付
- 多語言
- 商品評分
- 圖片加載
- 買家申請退款退貨
- 商家退款退貨
- 平臺退款退貨
- 添加發票
- 提交訂單
- 確認訂單
- 運費銷售區域
- 獲取會員地址
- 充值
- 導出XLS
- 商城系統集成
- 多語言實現
- 三級分銷推廣鏈接發展推廣員
- app.ini.php
- 去分銷
- 版本更新
- 物流支持
- 運營人員建議
- 業務邏輯
- 統計結算
- 客服消息
- 賬號
- 三級分銷
- IM
- 配置
- 平臺帳號
- 活動數據表說明
- 接口
- 數據庫中間鍵
- MyCat的優勢
- 概念說明
- Mycat的下載及安裝
- 參數配置案列
- Mycat讀寫分離
- 基本命令
- 常見錯誤