🎨 改进代码样式

This commit is contained in:
github-actions[bot]
2021-08-07 03:04:53 +00:00
parent a745f424ad
commit 7d5d74eb62
4 changed files with 2 additions and 5 deletions

View File

@@ -6,9 +6,10 @@ import (
"math/rand"
"time"
"github.com/FloatTech/ZeroBot-Plugin/plugin_diana/data"
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/message"
"github.com/FloatTech/ZeroBot-Plugin/plugin_diana/data"
)
func init() {

View File

@@ -66,7 +66,6 @@ func init() {
// 发起api请求并把返回body交由json库解析
func zhiwangapi(text string) *zhiwang {
url := "https://asoulcnki.asia/v1/api/check"
post := "{\n\"text\":\"" + text + "\"\n}"
var jsonStr = []byte(post)