|
|
package svr
|
|
|
|
|
|
import (
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log"
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log"
|
|
|
)
|
|
|
|
|
|
type HttplibMmmSmsApiServiceGateway struct {
|
...
|
...
|
@@ -49,3 +50,19 @@ func NewHttplibMmmSmsApiServiceGateway() *HttplibMmmSmsApiServiceGateway { |
|
|
},
|
|
|
}
|
|
|
}
|
|
|
|
|
|
type HttplibMmmSmsApiEmpty struct{}
|
|
|
|
|
|
func NewHttplibMmmSmsApiEmpty() *HttplibMmmSmsApiEmpty {
|
|
|
return &HttplibMmmSmsApiEmpty{}
|
|
|
}
|
|
|
|
|
|
func (serviceGateway *HttplibMmmSmsApiEmpty) SendSms(phone string) (map[string]interface{}, error) {
|
|
|
log.Info("非正式环境调用HttplibMmmSmsApiEmpty.SendSms发送短信")
|
|
|
return map[string]interface{}{}, nil
|
|
|
}
|
|
|
|
|
|
func (serviceGateway *HttplibMmmSmsApiEmpty) CheckSmsCode(phone string, code string) (map[string]interface{}, error) {
|
|
|
log.Info("非正式环境调用HttplibMmmSmsApiEmpty.CheckSmsCode 检查短信验证码")
|
|
|
return map[string]interface{}{}, nil
|
|
|
} |
...
|
...
|
|