This commit is contained in:
suyl
2021-07-20 18:31:37 +08:00
parent bc87ce5508
commit 44d20db9af
3 changed files with 17 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package api
import (
"git.rosy.net.cn/baseapi/platformapi/tibiotapi"
"git.rosy.net.cn/baseapi/platformapi/tonglianpayapi"
aliyunsmsclient "github.com/KenmyZhang/aliyun-communicate"
)
@@ -9,6 +10,7 @@ var (
SMSClient *aliyunsmsclient.SmsClient
TibiotAPI *tibiotapi.API
TLpayAPI *tonglianpayapi.API //通联收银宝api
)
func init() {
@@ -19,4 +21,5 @@ func init() {
func Init() {
TibiotAPI = tibiotapi.New("ruoxikeji", "Ruoxi@369")
SMSClient = aliyunsmsclient.New("http://dysmsapi.aliyuncs.com/")
TLpayAPI = tonglianpayapi.New("00183083", "18048531223", "56065105499TVAH")
}