- 每晚8点再同步一次平台门店信息
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
func TestQueryRecipes(t *testing.T) {
|
||||
db := GetDB()
|
||||
recipeList, err := QueryFoodRecipes(db, "", -1, "", "")
|
||||
recipeList, _, err := QueryFoodRecipes(db, "", 0, "", "", 0, 0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -38,3 +38,11 @@ func TestGetStoreList4Role(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetStoresMapList(t *testing.T) {
|
||||
storeList, err := GetStoresMapList(GetDB(), nil, nil, model.StoreStatusClosed, model.StoreIsSyncYes, "")
|
||||
t.Log(utils.Format4Output(storeList, false))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user