This commit is contained in:
2025-08-06 09:02:16 +08:00
parent 2cddbc3e73
commit c48bae28be
93 changed files with 10628 additions and 36 deletions
@@ -125,8 +125,9 @@ func (m *MpDraftService) GetDraftList(page, pageSize int, title, author string)
// getOfficialAccount 获取微信公众号实例
func (m *MpDraftService) getOfficialAccount() (*officialaccount.OfficialAccount, error) {
// 使用账号服务获取默认公众号实例
return nil, nil
// 使用用户服务获取公众号实例
mpUserService := &MpUserService{}
return mpUserService.GetOfficialAccount()
}
// GetDraftInfo 获取草稿详情(通过MediaID)