|
@@ -96,7 +96,7 @@ func (s *SwordFish) Wxsearchlist() error {
|
|
|
s.T["success"] = false
|
|
|
s.T["s_type"] = s.GetString("s_type")
|
|
|
if len(s_name) > 0 {
|
|
|
- clent, errs := rpc.DialHTTP("tcp", "127.0.0.1:8766")
|
|
|
+ clent, errs := rpc.DialHTTP("tcp", coreconfig.SysConfig.PushRpc)
|
|
|
defer clent.Close()
|
|
|
rpcData := qrpc.PushData{
|
|
|
//Mopenid: "oJULtwzXo6EFV1Ah-XeyRBimXGM8",
|
|
@@ -139,7 +139,7 @@ func (s *SwordFish) Searchinfolist() error {
|
|
|
s.T["success"] = false
|
|
|
s.T["s_type"] = s.GetString("s_type")
|
|
|
if len(s_name) > 0 {
|
|
|
- clent, errs := rpc.DialHTTP("tcp", "127.0.0.1:8766")
|
|
|
+ clent, errs := rpc.DialHTTP("tcp", coreconfig.SysConfig.PushRpc)
|
|
|
defer clent.Close()
|
|
|
rpcData := qrpc.PushData{
|
|
|
//Mopenid: "oJULtwzXo6EFV1Ah-XeyRBimXGM8",
|