🔥 代码结构调整

This commit is contained in:
李寻欢
2024-07-05 09:32:39 +08:00
parent 42ac0a5ae0
commit d07b3b9456
40 changed files with 77 additions and 77 deletions

View File

@@ -3,7 +3,7 @@ package utils
import (
"github.com/go-resty/resty/v2"
"go-wechat/config"
"go-wechat/model"
"go-wechat/model/dto"
"log"
)
@@ -29,7 +29,7 @@ func NewsUtil() News {
// @receiver news
// @return records
func (news) MorningPost() (records []string) {
var newsResp model.MorningPost
var newsResp dto.MorningPost
res := resty.New()
resp, err := res.R().