mh_goadmin_server/test/greentown_sms_test.go
chenlin 183caeefab 1、excel导出改成读取配置文件的url地址;
2、优化库存导入时门店名称/商品名称/供应商名称跟系统不符提示模糊的问题;
3、导出库存详excel时增加"库存数量"列,数量默认为1,方便采购进行excel数据透视;
4、增加尊享会员相关接口和字段;
5、优化财务统计接口,默认剔除"尊享会员费",只有传参有才展示;
6、解决采购需求页面库存数量统计不准确的问题,初始值由0改成1;
7、增加短信群发编辑接口;
2024-09-02 17:22:55 +08:00

19 lines
458 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, "【go2switch】温馨提示:您的会员即将过期,请在过期之前将卡归还到门店,如有问题联系客服")
}
func TestGtSendMessage(t *testing.T) {
models.GtSendMessage([]string{"15019230751"}, "【go2ns】绿城短信推送测试,测试")
}