From 7b63c6382380907df8aea67c14f4b2678f94d6b2 Mon Sep 17 00:00:00 2001 From: luolu Date: Mon, 1 Aug 2022 06:13:33 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20trial=5Fperiod=20field=20?= =?UTF-8?q?readonly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/views/arkstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/views/arkstore.py b/api/v1/views/arkstore.py index a42d1d904..9ae2108f3 100644 --- a/api/v1/views/arkstore.py +++ b/api/v1/views/arkstore.py @@ -156,7 +156,7 @@ class OrderPaymentOut(ResponseSchema): class TrialDays(Schema): - trial_period: int = Field(title=_('Trial Days',"试用期(天)")) + trial_period: int = Field(readonly=True, title=_('Trial Days',"试用期(天)")) class TrialDaysOut(ResponseSchema):