1
This commit is contained in:
@@ -441,12 +441,8 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
// CreateSaleTemp 创建限售模板
|
||||
func CreateSaleTemp(storeId int64, api *tiktokShop.API) (int64, error) {
|
||||
// 获取限售模板
|
||||
saleLimitId, err := api.StoreQuerySaleLimitTemp(storeId)
|
||||
saleLimitId, _ := api.StoreQuerySaleLimitTemp(storeId)
|
||||
globals.SugarLogger.Debug("==========saleLimitId1", saleLimitId)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debug("==========saleLimitId2", err)
|
||||
return 0, err
|
||||
}
|
||||
if saleLimitId != 0 {
|
||||
return saleLimitId, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user