You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
401 B
Go

8 months ago
package controller
8 months ago
import (
"context"
"exhibition-register/pb/exhibition"
"exhibition-register/pkg/msg"
)
func (e *ExhibitionProvider) CheckPhone(_ context.Context, req *exhibition.RegisterInfo) (res *exhibition.CheckPhoneResp, err error) {
res = new(exhibition.CheckPhoneResp)
8 months ago
if res, err = e.registerLogic.CheckByPhone(req); err != nil {
8 months ago
return nil, err
}
res.Msg = msg.Success
return
}