|
@@ -3,7 +3,7 @@ package WorkPhone
|
|
|
import (
|
|
|
"context"
|
|
|
"github.com/suyuan32/simple-admin-common/msg/errormsg"
|
|
|
- "wechat-api/internal/service/wx"
|
|
|
+ "wechat-api/internal/service/wechat"
|
|
|
"wechat-api/internal/svc"
|
|
|
"wechat-api/internal/types"
|
|
|
|
|
@@ -24,7 +24,7 @@ func NewWxRefreshLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WxRefre
|
|
|
}
|
|
|
|
|
|
func (l *WxRefreshLogic) WxRefresh() (resp *types.BaseMsgResp, err error) {
|
|
|
- wx.SyncAllWx(l.svcCtx)
|
|
|
+ wechat.SyncAllWx(l.svcCtx)
|
|
|
|
|
|
return &types.BaseMsgResp{Msg: errormsg.Success}, nil
|
|
|
}
|