update
This commit is contained in:
@@ -47,4 +47,7 @@ func init() {
|
||||
api_key := time.Now().UnixNano()
|
||||
sillyGirl.Set("api_key", api_key)
|
||||
}
|
||||
if sillyGirl.Get("uuid") == "" {
|
||||
sillyGirl.Set("uuid", GetUUID())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -394,6 +394,13 @@ Alias=sillyGirl.service`
|
||||
return nil
|
||||
},
|
||||
},
|
||||
{
|
||||
Rules: []string{"^机器码$"},
|
||||
Admin: true,
|
||||
Handle: func(s Sender) interface{} {
|
||||
return OttoFuncs["machineId"]("")
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user