浏览代码

推送

master
huangjiajun 1周前
父节点
当前提交
60bdf70cf2
共有 3 个文件被更改,包括 3 次插入6 次删除
  1. +1
    -5
      app/hdl/hdl_home_page.go
  2. +1
    -0
      app/svc/notice/svc_notice.go
  3. +1
    -1
      go.mod

+ 1
- 5
app/hdl/hdl_home_page.go 查看文件

@@ -151,11 +151,7 @@ func GetGrowData(c *gin.Context) {
now := time.Now()
dataDb := implement.NewPlatformGrowDataDb(db.Db)
m, has, err := dataDb.PlatformGrowDataGetLastOne()
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return
}
if !has {
if err != nil || !has {
resp := md.GetPriceCurveResp{
XData: xData,
YData: yData,


+ 1
- 0
app/svc/notice/svc_notice.go 查看文件

@@ -77,6 +77,7 @@ func Save(c *gin.Context) {
data.UpdateAt = time.Now()
data.Content = req.Content
data.Type = req.Type
data.SmsCode = req.SmsCode
data.Title = req.Title
data.Day = utils.StrToInt(req.Day)
data.NoticeDay = utils.StrToInt(req.NoticeDay)


+ 1
- 1
go.mod 查看文件

@@ -33,7 +33,7 @@ require (
)

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241210110912-1a6913ffbbc5
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241210122203-4b6573d9eb25
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241205075006-9c0bf995c788
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5


正在加载...
取消
保存