diff --git a/app/third/youchu/youchu_api.go b/app/third/youchu/youchu_api.go index 6b2678d..1edcd12 100644 --- a/app/third/youchu/youchu_api.go +++ b/app/third/youchu/youchu_api.go @@ -45,9 +45,9 @@ func (this *YouChuClient) Login(code string) (Code int, response front.YouChuLog return errorcode.SystemError, response } post, err := this.doPost(url, partnerTxSriNo, "crecard.getCustomerInfo", bytes) + var rq, _ = json.Marshal(request) + utils.Log(nil, "YouChuLogin", string(post), string(rq), err) if err != nil { - var rq, _ = json.Marshal(request) - utils.Log(nil, "YouChuLogin", string(post), string(rq), err) return errorcode.SystemError, response } responseData := DecryptResponse(string(post), false)