fix bug
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -55,7 +55,7 @@ corporate_args = { | ... | @@ -55,7 +55,7 @@ corporate_args = { |
| 55 | 'taxRegistrationCode': fields.Str(required=True, validate=validate.Length(max=256)), | 55 | 'taxRegistrationCode': fields.Str(required=True, validate=validate.Length(max=256)), |
| 56 | "incorporationDate": CustomDate(required=True), | 56 | "incorporationDate": CustomDate(required=True), |
| 57 | "businessLicenseDueDate": CustomDate(required=True), | 57 | "businessLicenseDueDate": CustomDate(required=True), |
| 58 | "capitalRegAmount": fields.Decimal(required=True), # TODO 2位小数限制 | 58 | "capitalRegAmount": CustomDecimal(required=True), # TODO 2位小数限制 |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | individual_args = { | 61 | individual_args = { |
| ... | @@ -68,7 +68,7 @@ individual_args = { | ... | @@ -68,7 +68,7 @@ individual_args = { |
| 68 | "idExpiryDate": CustomDate(required=True), | 68 | "idExpiryDate": CustomDate(required=True), |
| 69 | "dateOfBirth": CustomDate(required=True), | 69 | "dateOfBirth": CustomDate(required=True), |
| 70 | 'companyName': fields.Str(required=False, validate=validate.Length(max=256)), | 70 | 'companyName': fields.Str(required=False, validate=validate.Length(max=256)), |
| 71 | "registeredCapital": fields.Decimal(required=False), | 71 | "registeredCapital": CustomDecimal(required=False), |
| 72 | 'selfEmployedSubType': fields.Str(required=False, validate=validate.OneOf(consts.SUB_TYPE)), | 72 | 'selfEmployedSubType': fields.Str(required=False, validate=validate.OneOf(consts.SUB_TYPE)), |
| 73 | } | 73 | } |
| 74 | 74 | ... | ... |
-
Please register or sign in to post a comment