feat: 改用 logrus 输出日志

This commit is contained in:
Mmx233
2022-08-14 20:47:23 +08:00
parent 51e06a1596
commit df87d75aca
14 changed files with 107 additions and 181 deletions

View File

@@ -24,12 +24,6 @@ type LoginInfo struct {
type Login struct {
//调用API时直接访问https URL
Https bool
//Debug模式
Debug bool
//输出日志文件
WriteLog bool
//控制台日志打印开关
OutPut bool
//登录参数,不可缺省
LoginInfo LoginInfo
Client *http.Client