From 47b821e85821b04809890dc9a4a2a843bdf702a8 Mon Sep 17 00:00:00 2001 From: scorpiotzh <835598264@qq.com> Date: Fri, 26 Jan 2024 14:31:20 +0800 Subject: [PATCH] feat: fix api code --- http_server/handle/auto_account_search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_server/handle/auto_account_search.go b/http_server/handle/auto_account_search.go index d13bc10d..efdf3706 100644 --- a/http_server/handle/auto_account_search.go +++ b/http_server/handle/auto_account_search.go @@ -195,7 +195,7 @@ func (h *HttpHandle) checkParentAccount(apiResp *api_code.ApiResp, parentAccount apiResp.ApiRespErr(api_code.ApiCodeAccountStatusOnSaleOrAuction, "parent account status is not normal") return nil, nil } else if parentAccount.IsExpired() { - apiResp.ApiRespErr(api_code.ApiCodeAccountIsExpired, "parent account is expired") + apiResp.ApiRespErr(api_code.ApiCodeParentAccountExpired, "parent account is expired") return nil, nil } expiredAt := uint64(time.Now().Add(time.Hour * 24 * 7).Unix())