|
@@ -212,8 +212,8 @@ func WriteData(c *gin.Context) {
|
|
|
fmt.Println("bindUserUrl====" + bindUserUrl)
|
|
|
httpResponse := http.GetReq(bindUserUrl)
|
|
|
if httpResponse.StatusCode != 200 {
|
|
|
- fmt.Printf("%s:%s", errors.SetDeviceTimeFailed, httpResponse.Body)
|
|
|
- response.Failed(errors.SetDeviceTimeFailed, c)
|
|
|
+ fmt.Printf("%s:%s", errors.BindUserFailed, httpResponse.Body)
|
|
|
+ response.Failed(errors.BindUserFailed, c)
|
|
|
return
|
|
|
}
|
|
|
//授时
|