diff --git a/README.md b/README.md index 0240fb92..34579ffd 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,8 @@ Development process, for reference only 1. Define the database model (model) and remember to perform database migration for each change 2. Define the data validation model (schema) -3. Define the business logic (service) -4. Define routes (router) and views (api) +3. Define routes (router) and views (api) +4. Define the business logic (service) 5. Write database operations (crud) ## Test diff --git a/README.zh-CN.md b/README.zh-CN.md index ef521934..b4e8c849 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -107,8 +107,8 @@ 1. 定义数据库模型(model),每次变化记得执行数据库迁移 2. 定义数据验证模型(schema) -3. 定义业务逻辑(service) -4. 定义路由(router)和视图(api) +3. 定义路由(router)和视图(api) +4. 定义业务逻辑(service) 5. 编写数据库操作(crud) ## 测试