Try to add share code in download api.
This commit is contained in:
@ -200,7 +200,7 @@ func (this *TankApplication) HandleMirror() {
|
||||
return
|
||||
}
|
||||
|
||||
if webResult.Code == result.CODE_WRAPPER_OK.Code {
|
||||
if webResult.Code == result.OK.Code {
|
||||
fmt.Println("success")
|
||||
} else {
|
||||
fmt.Printf("error %s\r\n", webResult.Msg)
|
||||
@ -247,7 +247,7 @@ func (this *TankApplication) HandleCrawl() {
|
||||
return
|
||||
}
|
||||
|
||||
if webResult.Code == result.CODE_WRAPPER_OK.Code {
|
||||
if webResult.Code == result.OK.Code {
|
||||
fmt.Println("success")
|
||||
} else {
|
||||
fmt.Printf("error %s\r\n", webResult.Msg)
|
||||
|
Reference in New Issue
Block a user