This commit is contained in:
zhangkun 2024-12-07 21:22:18 +08:00
parent 791a249e00
commit 6565760b7d
5 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,7 @@ import (
simple "github.com/bitly/go-simplejson"
"github.com/go-redis/redis"
"phyer.click/tunas/utils"
"github.com/phyer/texus/utils"
)
type Candle struct {

View File

@ -19,8 +19,8 @@ import (
simple "github.com/bitly/go-simplejson"
"github.com/go-redis/redis"
"phyer.click/tunas/private"
"phyer.click/tunas/utils"
"github.com/phyer/texus/private"
"github.com/phyer/texus/utils"
)
type Core struct {

View File

@ -13,9 +13,9 @@ import (
simple "github.com/bitly/go-simplejson"
// "github.com/go-redis/redis"
"phyer.click/tunas/core"
// "phyer.click/tunas/private"
"phyer.click/tunas/utils"
"github.com/phyer/texus/core"
// "github.com/phyer/texus/private"
"github.com/phyer/texus/utils"
)
func init() {
@ -77,7 +77,7 @@ func RestTicker(cr *core.Core, dura time.Duration) {
wg := core.WriteLog{
Content: ab,
Tag: "sardine.log.ticker." + tir.InstId,
Id: ti.Id,
Id: did,
}
cr.WriteLogChan <- &wg
redisCli.Publish(core.TICKERINFO_PUBLISH+suffix, string(ab)).Result()

View File

@ -1,7 +1,7 @@
package models
import (
"phyer.click/tunas/utils"
"github.com/phyer/texus/utils"
)
type GlobalCoin struct {

View File

@ -1,7 +1,7 @@
package private
import (
"phyer.click/tunas/utils"
"github.com/phyer/texus/utils"
)
type OrderResp struct {