Skip to content

Commit

Permalink
Update nbnhhsh.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Sep 26, 2021
1 parent 3405c1c commit 42ba65e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin_nbnhhsh/nbnhhsh.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package nbnhhsh 能不能好好说话
package nbnhhsh

import (
Expand All @@ -24,6 +25,7 @@ func getValue(text string) []string {
urlValues.Add("text", text)
resp, _ := http.PostForm("https://lab.magiconch.com/api/nbnhhsh/guess", urlValues)
body, _ := ioutil.ReadAll(resp.Body)
resp.Close()
json := gjson.ParseBytes(body)
res := make([]string, 0)
var jsonPath string
Expand Down

0 comments on commit 42ba65e

Please sign in to comment.