正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
@@ -3,6 +3,7 @@ package socialwork_sdk | @@ -3,6 +3,7 @@ package socialwork_sdk | ||
3 | import ( | 3 | import ( |
4 | "encoding/base64" | 4 | "encoding/base64" |
5 | "encoding/json" | 5 | "encoding/json" |
6 | + "fmt" | ||
6 | "gitlab.workai.com.cn/chenang/socialwork-sdk/model" | 7 | "gitlab.workai.com.cn/chenang/socialwork-sdk/model" |
7 | "log" | 8 | "log" |
8 | ) | 9 | ) |
@@ -16,6 +17,10 @@ type OrderClient struct { | @@ -16,6 +17,10 @@ type OrderClient struct { | ||
16 | IP string `json:"ip"` | 17 | IP string `json:"ip"` |
17 | } | 18 | } |
18 | 19 | ||
20 | +func HelloWorld() { | ||
21 | + fmt.Println("欢迎使用小爱,socialwork-sdk") | ||
22 | +} | ||
23 | + | ||
19 | func NewOrderClient(key, iv, customerPrivateKey, publicKey, ip string) *OrderClient { | 24 | func NewOrderClient(key, iv, customerPrivateKey, publicKey, ip string) *OrderClient { |
20 | return &OrderClient{ | 25 | return &OrderClient{ |
21 | Key: key, | 26 | Key: key, |
请
注册
或
登录
后发表评论