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" simple "github.com/bitly/go-simplejson"
"github.com/go-redis/redis" "github.com/go-redis/redis"
"phyer.click/tunas/utils" "github.com/phyer/texus/utils"
) )
type Candle struct { type Candle struct {

View File

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

View File

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

View File

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

View File

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