mirror of
https://github.com/silenceper/wechat.git
synced 2026-11-16 05:12:03 +08:00
oauth2,jssdk
This commit is contained in:
1 parent
3854bb0487
commit
4333691b37
21 files changed
+913
-43
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package util
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestSignature(t *testing.T) {
|
||||
//abc sig
|
||||
abc := "a9993e364706816aba3e25717850c26c9cd0d89d"
|
||||
if abc != Signature("a", "b", "c") {
|
||||
t.Error("test Signature Error")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user