|
@@ -119,8 +119,9 @@ func checkSignature(body []byte, timestamp, signature string) bool {
|
|
|
|
|
|
func checkPermission(timestamp, signature string, body []byte) (int, bool) {
|
|
|
|
|
|
- if checkSignature(body, timestamp, signature) == false {
|
|
|
- return NO_AUTH, false
|
|
|
- }
|
|
|
+ // modify by hyb cancel checkPermission
|
|
|
+ //if checkSignature(body, timestamp, signature) == false {
|
|
|
+ // return NO_AUTH, false
|
|
|
+ //}
|
|
|
return OK, true
|
|
|
}
|