Name Last Update
README.md Loading commit data...

yo

yo 2.0版本,这个版本主要特性,服务端业务按照业务模块划分

目录结构

app
 |__A
 | |_controllers
 | | |_a1
 | | |_a2
 | |_interfaces
 | | |_i1
 | | |_i2
 | |_adapets
 | | |_a1
 | | |_a2
 | | 
 | |_views
 |   |_index.html
 |   |_layout.html
 |__layout.html
 |__static
    |_common
    | |_js
    | |_css
    |_asset
    | |_images
    | |_fonts
    |_A
      |_js
      |_css

controller 调用规约


app(route,[api1,api2],adapet,callback);