🔥 代码结构调整

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

@@ -4,7 +4,7 @@ import (
"github.com/go-resty/resty/v2"
"go-wechat/common/current"
"go-wechat/config"
"go-wechat/model"
"go-wechat/model/dto"
"log"
)
@@ -12,7 +12,7 @@ import (
// @description: 初始化微信机器人信息
func InitWechatRobotInfo() {
// 获取数据
var base model.Response[model.RobotUserInfo]
var base dto.Response[dto.RobotUserInfo]
_, err := resty.New().R().
SetHeader("Content-Type", "application/json;chartset=utf-8").
SetResult(&base).