mh_goadmin_server/test/greentown_sms_test.go

20 lines
583 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package test
import (
"go-admin/app/admin/models"
"testing"
)
func TestSend(t *testing.T) {
//tel := "17080320980"
tel := "13714071204,17727927738"
//tel := "17602181899"
models.SmsSend(tel, "【明慧科技】温馨提示:您的会员即将过期,请在过期之前将卡归还到门店,如有问题联系客服")
}
func TestGtSendMessage(t *testing.T) {
models.GtSendMessage([]string{"15019230751"},
"【明慧科技】温馨提示您的go2ns租卡会员还有0天将到期请及时续费如会员到期后仍有卡带未归还将会收取滞纳金")
}