提交 0285c710 authored 作者: lihaixin's avatar lihaixin

不改三方包里面代码

上级 c3d0c55d
...@@ -12,10 +12,10 @@ type WeimobConfig struct { ...@@ -12,10 +12,10 @@ type WeimobConfig struct {
ServerName string ServerName string
} }
func NewWeChatClient() *WeimobConfig { func NewWeChatClient(ServerName, ApiUrl string) *WeimobConfig {
return &WeimobConfig{ return &WeimobConfig{
ServerName: "you ServerName", //项目名 ServerName: ServerName, //项目名
ApiUrl: "you ApiUrl", //无特殊情况为 "https://dopen.weimob.com/", ApiUrl: ApiUrl, //无特殊情况为 "https://dopen.weimob.com/",
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论