Tag: multi-model
-
Post Views: 19 1. Reference URL:https://www.yiiframework.com/doc/guide/2.0/zh-cn/input-multiple-models, it is suitable for web forms, but the request parameters of the API application generally do not add the form name (especially when the single model is entered), so it is not suitable, for example: the table name is article_type, the field name is code, then the request parameter name is article_type_code, not: articleType[‘code’],…
