| 123456789101112131415161718192021222324 |
- package service
- import "sportfitness/base/repository/grpc/bsw/im"
- type User struct {
- base
- }
- func (User) SignInUserCodePassword(userCode, password, ip, ClientInfo,
- codeId, verifyCode string) (token string) {
- token, userId := im.SignInUserCodePassword(userCode, password, ip, ClientInfo,
- codeId, verifyCode)
- println(token, userId)
- return token
- }
- func (User) GenVerifyImage(height, width int32) (string, string) {
- codeId, imageBase64 := im.GenVerifyImage(height, width)
- return codeId, imageBase64
- }
|