Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spencer Chang
hel-developer-guide
Commits
9d5410d3
Commit
9d5410d3
authored
Jul 31, 2017
by
yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update codeStyle.md
parent
f9619fd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
codeStyle.md
codeStyle.md
+4
-4
No files found.
codeStyle.md
View file @
9d5410d3
## [一、后端开发规范](#backEndDev
backEndDev)
## [一、后端开发规范](#backEndDev
)<a name="backEndDev"/>
1.
所有的项目文件必须采用UTF-8编码,IDEA及Eclipse需要手动设置项目编码以及编译编码。
-
Eclipse中修改项目编码的方法参考:
[
Eclipse修改编码方法
](
http://jingyan.baidu.com/article/647f0115b0c9887f2148a822.html
)
-
IDEA中修改项目编码的方法参考:
[
IDEA修改编码方法
](
http://jingyan.baidu.com/article/948f5924e4de57d80ff5f998.html]
)
...
...
@@ -38,7 +38,7 @@ if(user.getStatus() == EXPIRED_USER_STATUS){
```
--- ---
## [二、后端命名规范](#backEndName
backEndName)
## [二、后端命名规范](#backEndName
)<a name="backEndName"/>
1.
所有的命名不允许使用
**拼音或者拼音英文混合**
方式,但部分公认的拼音允许使用,如
**shanghai,beijing**
等。
2.
所有的命名不允许使用
**下划线`_`**
或者
**美元符`$`**
作为起始或者结束。错误的情况有不限于以下几种:
-
**_param**
...
...
@@ -132,8 +132,8 @@ if(user.getStatus() == EXPIRED_USER_STATUS){
--- ---
## [三、前端开发规范](#frontEndDev
frontEndDev)
## [三、前端开发规范](#frontEndDev
)<a name="frontEndDev"/>
--- ---
## [四、前端命名规范](#frontEndName
frontEndName)
## [四、前端命名规范](#frontEndName
)<a name="frontEndName"/>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment