|
@@ -32,7 +32,7 @@ func NewMiniQrcodeInviteLogic(ctx context.Context, svcCtx *svc.ServiceContext) * |
|
@@ -32,7 +32,7 @@ func NewMiniQrcodeInviteLogic(ctx context.Context, svcCtx *svc.ServiceContext) * |
32
|
|
32
|
|
33
|
func (l *MiniQrcodeInviteLogic) MiniQrcodeInvite(req *types.MiniQrCodeRequest) (resp interface{}, err error) {
|
33
|
func (l *MiniQrcodeInviteLogic) MiniQrcodeInvite(req *types.MiniQrCodeRequest) (resp interface{}, err error) {
|
34
|
var (
|
34
|
var (
|
35
|
- q = l.svcCtx.MiniProgram.GetQRCode()
|
35
|
+ q = l.svcCtx.GetMiniProgram().GetQRCode()
|
36
|
cacheData = fmt.Sprintf("%s?%s", req.Page, req.Scene)
|
36
|
cacheData = fmt.Sprintf("%s?%s", req.Page, req.Scene)
|
37
|
cacheKey = fmt.Sprintf("%s:qrcode:%s", l.svcCtx.Config.Name, tool.Md5ByString(cacheData))
|
37
|
cacheKey = fmt.Sprintf("%s:qrcode:%s", l.svcCtx.Config.Name, tool.Md5ByString(cacheData))
|
38
|
ok bool
|
38
|
ok bool
|