- 每晚8点再同步一次平台门店信息

This commit is contained in:
gazebo
2019-09-20 10:30:45 +08:00
parent aa3bfcd4c2
commit 2409b4f323
4 changed files with 11 additions and 1 deletions

View File

@@ -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)
}

View File

@@ -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)
}
}