mh_goadmin_server/test/greentown_sms_test.go
chenlin cafc26e5bd 1、配置文件增加消息订阅环境和短信url配置项;
2、coupon和user_coupon表增加limit字段;
3、零售开单时,如果使用优惠券,则同步更新优惠券对应的数据;
4、增加优惠券数据接口;
5、增加获取小程序跳转链接接口;
6、增加保定金自动审核的定时任务,每天早上9点30分退前一天的保证金,最多10条;
2024-12-05 18:47:16 +08:00

19 lines
551 B
Go
Raw Permalink 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, "【go2ns】温馨提示:您的会员即将过期,请在过期之前将卡归还到门店,如有问题联系客服")
}
func TestGtSendMessage(t *testing.T) {
models.GtSendMessage([]string{"18872141360", "15019230751"}, "【go2ns】圣诞活动已开启优惠券已发放到您的账户。详情点击https://dev.admin.deovo.com/visit.html")
}