Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • code standard

code standard · Changes

Page history
Update code standard authored Aug 25, 2021 by 互联网应用开发's avatar 互联网应用开发
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • code-standard.md code-standard.md +2 -2
  • No files found.
code-standard.md
View page @ c6464765
...@@ -71,6 +71,7 @@ class Person { ...@@ -71,6 +71,7 @@ class Person {
10. 所有变量使用前须声明 10. 所有变量使用前须声明
11. 前端过来的数据谨慎处理,第一时间考虑 注入和跨站的可能性 11. 前端过来的数据谨慎处理,第一时间考虑 注入和跨站的可能性
12. bll层的方法 不允许出现 类似dao层的方法,需要有明确的意义 12. bll层的方法 不允许出现 类似dao层的方法,需要有明确的意义
13. 新建的类统一使用php的namespace
#### 额外推荐 #### 额外推荐
...@@ -178,5 +179,4 @@ class Person { ...@@ -178,5 +179,4 @@ class Person {
* ) * )
* ) * )
*/ */
```` ````
\ No newline at end of file
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages