Support Media Message (#9)
This commit is contained in:
11
internal/wechatdb/repository/media.go
Normal file
11
internal/wechatdb/repository/media.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/sjzar/chatlog/internal/model"
|
||||
)
|
||||
|
||||
func (r *Repository) GetMedia(ctx context.Context, _type string, key string) (*model.Media, error) {
|
||||
return r.ds.GetMedia(ctx, _type, key)
|
||||
}
|
||||
Reference in New Issue
Block a user