- 修复GetEffectiveActStoreSkuInfo中没有获取vendor_id的bug
This commit is contained in:
18
business/jxutils/jxutils_act_test.go
Normal file
18
business/jxutils/jxutils_act_test.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package jxutils
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
)
|
||||
|
||||
func TestGetActStoreSku(t *testing.T) {
|
||||
actStoreSkuList, err := dao.GetEffectiveActStoreSkuInfo(dao.GetDB(), 0, []int{model.VendorIDMTWM}, []int{102046}, []int{25430, 30611},
|
||||
utils.Str2Time("2019-07-27 13:29:57"), utils.Str2Time("2019-07-27 13:29:57"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
storeSkuMap := NewActStoreSkuMap(actStoreSkuList, false)
|
||||
}
|
||||
Reference in New Issue
Block a user