- 适配新平台API对于门店商品操作部分失败时返回详情的改动(没有实现处理)
This commit is contained in:
@@ -153,10 +153,10 @@ func bizStatusJX2Mtwm(status int) (openLevel, online int) {
|
||||
}
|
||||
|
||||
func skuStatusJX2Mtwm(status int) int {
|
||||
if status == 1 {
|
||||
return 0
|
||||
if status == model.SkuStatusNormal {
|
||||
return mtwmapi.SellStatusOnline
|
||||
}
|
||||
return 1
|
||||
return mtwmapi.SellStatusOffline
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, imgURL string, imgData []byte, imgName string) (imgHint string, err error) {
|
||||
|
||||
Reference in New Issue
Block a user