mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
chore: update
This commit is contained in:
@@ -43,6 +43,7 @@ var feedrPingFunc = func(btitle, slug string) error {
|
|||||||
|
|
||||||
// rpcPingParam ping to rpc, eg. google baidu
|
// rpcPingParam ping to rpc, eg. google baidu
|
||||||
// params:
|
// params:
|
||||||
|
//
|
||||||
// BlogName string `xml:"param>value>string"`
|
// BlogName string `xml:"param>value>string"`
|
||||||
// HomePage string `xml:"param>value>string"`
|
// HomePage string `xml:"param>value>string"`
|
||||||
// Article string `xml:"param>value>string"`
|
// Article string `xml:"param>value>string"`
|
||||||
@@ -93,7 +94,7 @@ var rpcPingFunc = func(btitle, slug string) error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if resp.StatusCode != 200 {
|
if resp.StatusCode != 200 {
|
||||||
logrus.Error("rpcPingFunc.failed: ", string(data))
|
logrus.Error("rpcPingFunc.failed: ", string(data), resp.StatusCode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user