search

Next Section: 11创建API(8)JSON参数自动转为实体对象(下)成果测试、调用的基本姿势405 plays

5 秒后自动播放下一节
  Watch Again

Swoft2.x quick learning http api course

Introduction >
ChapterCourseware
Chapter1Swoft2.x quick learning http api article

01 Basic routines for creating http api, product API simulation, RequestMapping annotations

13 minutes14 seconds

02Create Api(2) to simulate product list, return JSON format, global function

05 minutes48 seconds

03Create Api(3) to simulate product details page and routing path parameters

04 minutes31 seconds

04Create Api(4) and use regular rules to control routing path parameters

03 minutes12 seconds

05 Preliminary use of middleware and modification of controller method return values

14 minutes04 seconds

06 Create API (5) GET parameters, POST parameter acquisition, simulated product modification

07 minutes52 seconds

07 Create API (6) Add a simple chain call mechanism to the controller

06 minutes45 seconds

08Create the most basic acquisition of API (7) JSON parameters

05 minutes01 seconds

09 Create API (8) Automatically convert JSON parameters into entity objects (Part 1) Use of self-written functions and reflection

11 minutes09 seconds

10 Create API (8) JSON parameters are automatically converted into entity objects (middle) Reflection executes the setter function and returns the specified object

12 minutes38 seconds

11 Create API (8) Automatically convert JSON parameters into entity objects (Part 2) Basic postures for result testing and calling

03 minutes46 seconds

12 Database (1) Basic configuration, native query to obtain product details

05 minutes30 seconds

13 interspersed knowledge points: the use of validators

05 minutes20 seconds

14 Use of validators (2) Practice and control character length

05 minutes05 seconds

15 Use of validators (3) Verification type, non-annotation use, upgrading swoft version

09 minutes36 seconds

16 Database Learning Basic Configuration of Connection Pool

06 minutes35 seconds
  • CancelreplySending
  • Cancelpost a noteSending