Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
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
hel-guide
app
Commits
9799aeee
Commit
9799aeee
authored
Aug 16, 2017
by
宋帮潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/svc.md
Auto commit by GitBook Editor
parent
bc80debd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
svc.md
ionic/svc.md
+3
-0
No files found.
ionic/svc.md
View file @
9799aeee
...
...
@@ -3,12 +3,15 @@
***
# I. SVC文件编写规范
svc文件创建后要引入 app_login_check.js,该js主要用于检测用户是否登录,用户登陆后才能调用该接口。如图所示:
![](
/picture/svc5.png
)
svc文件主要编写的内容是大致是关联对应的bm文件执行对应的sql语句,如下图所示:
![](
/picture/svc6.png
)
调用执行方法,如图:
![](
/picture/svc7.png
)
接收返回的json数据并且对返回的json数据进行处理和展示。
...
...
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