mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-11 03:33:53 +08:00
发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// ================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
@@ -15,14 +15,17 @@ import (
|
||||
|
||||
type (
|
||||
ICommonUpload interface {
|
||||
UploadFile(ctx context.Context, file *ghttp.UploadFile) (res *sysin.AttachmentListModel, err error)
|
||||
UploadImage(ctx context.Context, file *ghttp.UploadFile) (res *sysin.AttachmentListModel, err error)
|
||||
// UploadFile 上传文件
|
||||
UploadFile(ctx context.Context, uploadType string, file *ghttp.UploadFile) (res *sysin.AttachmentListModel, err error)
|
||||
}
|
||||
ICommonWechat interface {
|
||||
Authorize(ctx context.Context, in commonin.WechatAuthorizeInp) (res *commonin.WechatAuthorizeModel, err error)
|
||||
AuthorizeCall(ctx context.Context, in commonin.WechatAuthorizeCallInp) (res *commonin.WechatAuthorizeCallModel, err error)
|
||||
// Authorize 微信用户授权
|
||||
Authorize(ctx context.Context, in *commonin.WechatAuthorizeInp) (res *commonin.WechatAuthorizeModel, err error)
|
||||
AuthorizeCall(ctx context.Context, in *commonin.WechatAuthorizeCallInp) (res *commonin.WechatAuthorizeCallModel, err error)
|
||||
// GetOpenId 从缓存中获取临时openid
|
||||
GetOpenId(ctx context.Context) (openId string, err error)
|
||||
GetCacheKey(typ, ak string) string
|
||||
// CleanTempMap 清理临时map
|
||||
CleanTempMap(ctx context.Context)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user