2、coupon和user_coupon表增加limit字段; 3、零售开单时,如果使用优惠券,则同步更新优惠券对应的数据; 4、增加优惠券数据接口; 5、增加获取小程序跳转链接接口; 6、增加保定金自动审核的定时任务,每天早上9点30分退前一天的保证金,最多10条;
19 lines
551 B
Go
19 lines
551 B
Go
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")
|
||
}
|