diff --git a/http_server/handle/did_cell_list.go b/http_server/handle/did_cell_list.go index b2f3940..6d4b7b1 100644 --- a/http_server/handle/did_cell_list.go +++ b/http_server/handle/did_cell_list.go @@ -95,7 +95,7 @@ func (h *HttpHandle) doDidCellList(ctx context.Context, req *ReqDidCellList, api for _, v := range list { didAcc := DidAccount{ Account: v.Account, - ExpiredAt: v.ExpiredAt, + ExpiredAt: v.ExpiredAt * 1000, } resp.List = append(resp.List, didAcc) } diff --git a/http_server/handle/did_cell_recyclable_list.go b/http_server/handle/did_cell_recyclable_list.go index 87b00af..829f1c1 100644 --- a/http_server/handle/did_cell_recyclable_list.go +++ b/http_server/handle/did_cell_recyclable_list.go @@ -125,7 +125,7 @@ func (h *HttpHandle) doDidCellRecyclableList(ctx context.Context, req *ReqDidCel for _, v := range list { resp.List = append(resp.List, DidCellRecyclable{ Account: v.Account, - ExpiredAt: v.ExpiredAt, + ExpiredAt: v.ExpiredAt * 1000, }) accounts = append(accounts, v.Account) } diff --git a/http_server/handle/did_cell_upgradable_list.go b/http_server/handle/did_cell_upgradable_list.go index 4adfbe5..ce13263 100644 --- a/http_server/handle/did_cell_upgradable_list.go +++ b/http_server/handle/did_cell_upgradable_list.go @@ -110,7 +110,7 @@ func (h *HttpHandle) doDidCellUpgradableList(ctx context.Context, req *ReqDidCel acc := UpgradableAccount{ AccountId: v.AccountId, Account: v.Account, - ExpiredAt: v.ExpiredAt, + ExpiredAt: v.ExpiredAt * 1000, UpgradeStatus: UpgradeStatusDefault, } resp.List = append(resp.List, acc)