aa
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/baseapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -293,19 +294,19 @@ func TestExcuteInvoking(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPeiZhiJdZhangHao(t *testing.T) {
|
||||
// for k, v := range interfaceMap {
|
||||
// if err := api.UpdateInterStatus(k, v[0].(string), v[1].(int)); err == nil {
|
||||
// if err2 := api.SaveMsgUrl(k, "http://callback.test.jxc4.com", "http://callback.jxc4.com", v[1].(int)); err2 == nil {
|
||||
// if err3 := api.ExcuteInvoking(k, v[1].(int)); err3 == nil {
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// result, err := api.GetJdNoAuthAppID("364131")
|
||||
result, err := api.GetJdAppInfo()
|
||||
// err := api.SetCode("yCpbjc", "8770")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
for k, v := range interfaceMap {
|
||||
if err := api.UpdateInterStatus(k, v[0].(string), v[1].(int)); err == nil {
|
||||
if err2 := api.SaveMsgUrl(k, "http://callback.test.jxc4.com", "http://callback.jxc4.com", v[1].(int)); err2 == nil {
|
||||
if err3 := api.ExcuteInvoking(k, v[1].(int)); err3 == nil {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
api.SaveCheckedInters()
|
||||
time.Sleep(time.Second * 2)
|
||||
api.ToOnline()
|
||||
}
|
||||
|
||||
func TestSecond(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user