+ sns_test.go
This commit is contained in:
11
platformapi/weixinapi/sns_test.go
Normal file
11
platformapi/weixinapi/sns_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package weixinapi
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestSNSRetrieveToken(t *testing.T) {
|
||||
result, err := weixinapi.SNSRetrieveToken("061lxVZh0gye0x1fNrZh0imd0i0lxVZS")
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
sugarLogger.Debug(result)
|
||||
}
|
||||
Reference in New Issue
Block a user