This commit is contained in:
邹宗楠
2023-07-31 17:30:56 +08:00
parent 4e9ae5c955
commit c54db9a9e1
2 changed files with 1 additions and 17 deletions

View File

@@ -206,7 +206,7 @@ func Init() {
ScheduleTimerFunc("UpdateTaoTotalMoney", func() {
orderman.UpdateTaoSettleInfo()
}, []string{
"17:00:00",
"17:35:00",
})
// 每分钟轮询一次,推送骑手信息

View File

@@ -3,7 +3,6 @@ package netspider
import (
"testing"
"git.rosy.net.cn/jx-callback/business/jxutils/ditu"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/baseapi/utils"
@@ -16,21 +15,6 @@ func init() {
testinit.Init()
}
func TestGetStoreListByCoordinate(t *testing.T) {
storeList, err := getStoreListByCoordinates(jxcontext.AdminCtx, nil, 3, "成都",
[]*ditu.Coordinate{
&ditu.Coordinate{
Lng: 104.057218,
Lat: 30.6949,
},
})
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(storeList, false))
t.Log(len(storeList))
}
func TestGetCityShops(t *testing.T) {
shopList, err := GetCityShops(jxcontext.AdminCtx, nil, []int{0, 3}, 510100, 5000, 3000)
if err != nil {