Prechádzať zdrojové kódy

fix: update err string

joe 4 rokov pred
rodič
commit
4cf6f5344a
2 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 3 3
      sms/smsplat/aliyun.go
  2. 1 1
      sms/smsplat/smsbao.go

+ 3 - 3
sms/smsplat/aliyun.go

@@ -31,7 +31,7 @@ func NewAliyunSms(region, accessKey, accessSecret, signName string) sms.ISms {
 }
 
 func (self *aliyunSms) Send(phone, msg string) error {
-	return utl.ErrNotImplement
+	return utl.ErrNotImplemented
 }
 
 func (self *aliyunSms) SendTpl(phone, tpl string, params []byte) error {
@@ -58,11 +58,11 @@ func (self *aliyunSms) SendTpl(phone, tpl string, params []byte) error {
 }
 
 func (self *aliyunSms) GetBalance() (float64, error) {
-	return 0.0, utl.ErrNotImplement
+	return 0.0, utl.ErrNotImplemented
 }
 
 func (self *aliyunSms) GetAvailable() (int64, error) {
-	return 0, utl.ErrNotImplement
+	return 0, utl.ErrNotImplemented
 }
 
 func (self *aliyunSms) Name() string {

+ 1 - 1
sms/smsplat/smsbao.go

@@ -50,7 +50,7 @@ func (self *smsBao) SendTpl(phone, tpl string, params []byte) error {
 }
 
 func (self *smsBao) GetBalance() (float64, error) {
-	return 0, utl.ErrNotImplement
+	return 0, utl.ErrNotImplemented
 }
 
 func (self *smsBao) GetAvailable() (int64, error) {