feat: openid login

This commit is contained in:
zzw
2026-09-02 17:37:12 +08:00
parent 540f74f9b7
commit bb14f9e324
38 changed files with 1627 additions and 1091 deletions
+7 -1
View File
@@ -86,7 +86,13 @@ func (s *SaleServer) InfoInternal(ctx context.Context, in *sale.InfoReq) (*sale.
return l.InfoInternal(in)
}
// 按 id 批量查销售 id+name(内部)
// 按 user_id 查销售详情(内部)
func (s *SaleServer) InfoByUserId(ctx context.Context, in *sale.InfoByUserIdReq) (*sale.InfoData, error) {
l := logic.NewInfoByUserIdLogic(ctx, s.svcCtx)
return l.InfoByUserId(in)
}
// ids 批量查销售
func (s *SaleServer) NamesByIds(ctx context.Context, in *sale.NamesByIdsReq) (*sale.NamesByIdsData, error) {
l := logic.NewNamesByIdsLogic(ctx, s.svcCtx)
return l.NamesByIds(in)