This commit is contained in:
cdle
2021-09-09 14:29:56 +08:00
parent 8f4146b7bb
commit b64fe087ff
6 changed files with 40 additions and 22 deletions
+2 -2
View File
@@ -31,9 +31,9 @@ type JdCookie struct {
var ua = `Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5 UCBrowser/13.4.2.1122`
func init() {
core.AddCommand([]core.Function{
core.AddCommand("ql", []core.Function{
{
Rules: []string{`^asset\s+(.+)$`, `^查询\s+(.+)$`},
Rules: []string{`jd asset ?`},
Handle: func(s im.Sender) interface{} {
a := s.Get()
envs, err := qinglong.GetEnvs("JD_COOKIE")