Browse Source

fix:bug

dev
Tooooommy 4 years ago
parent
commit
2f0815baa4
  1. 8
      hdws/ws/timer.go

8
hdws/ws/timer.go

@ -11,10 +11,10 @@ func init() {
}
func syncFunc(c *Client, msg *Message) {
if c.AccountType != IDCustomer {
c.Write([]byte("此账号无此权限"))
return
}
//if c.AccountType != IDCustomer {
// c.Write([]byte("此账号无此权限"))
// return
//}
operation, ok := msg.Data["operation"]
if !ok {

Loading…
Cancel
Save