银豹增加商品部存在
This commit is contained in:
@@ -232,6 +232,10 @@ func (p *PurchaseHandler) GetSensitiveWordRegexp() *regexp.Regexp {
|
|||||||
return sensitiveWordRegexp
|
return sensitiveWordRegexp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *PurchaseHandler) IsErrSkuNotExist(err error) (isNotExist bool) {
|
||||||
|
return yinbaoapi.IsErrSkuNotExist(err)
|
||||||
|
}
|
||||||
|
|
||||||
func ybSkuStatus2Jx(ybStatus int) (jxSkuStatus int) {
|
func ybSkuStatus2Jx(ybStatus int) (jxSkuStatus int) {
|
||||||
if ybStatus == yinbaoapi.SkuStatusEnable {
|
if ybStatus == yinbaoapi.SkuStatusEnable {
|
||||||
jxSkuStatus = model.SkuStatusNormal
|
jxSkuStatus = model.SkuStatusNormal
|
||||||
|
|||||||
Reference in New Issue
Block a user