Commit c4200f92 by Joneq

修改错误

parent e93b38b3
package static
package main
import "fmt"
......
package static
package main
//企业征信
\ No newline at end of file
package static
package main
//历史交易
\ No newline at end of file
package static
package main
//个人征信
\ No newline at end of file
......@@ -2,9 +2,9 @@ package dao
import (
"context"
"github.com/pkg/errors"
"github.com/bilibili/kratos/pkg/database/sql"
"kaopu-server/internal/model"
"github.com/bilibili/kratos/pkg/database/sql"
"github.com/pkg/errors"
)
//列表方式获取会员信息
......
......@@ -56,4 +56,15 @@ func (s *Service) GetUserList(ctx context.Context) (res []*model.Users, err erro
fmt.Println(res)
return
}
//获取用户列表
func (s *Service) GetCompanyCresitsList(ctx context.Context) (res []*model.Users, err error) {
//调用DB方法,获取会员数据
res, _ = s.dao.GetCompanyCresitsList(ctx)
fmt.Println(res)
return
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment