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
0c2866c1
Commit
0c2866c1
authored
Sep 07, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 车租易APP开发.md
Auto commit by GitBook Editor
parent
25d1c4e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
hlsHttp.md
angular/hlsHttp.md
+1
-1
车租易APP开发.md
车租易APP开发.md
+13
-0
No files found.
angular/hlsHttp.md
View file @
0c2866c1
...
...
@@ -2,7 +2,7 @@
APP的开发模式采用前后台完全分离的开发模式,前端代码中必不可少进行调用接口进行数据交互。
*
1
`controller`
中注入
`hlsHttp`
服务,此对象中主要包含
`post`
与
`get`
方法。
*
2 post 方法返回的是 promise 对象,需要传递 url 与 paramter 对象,此方法默认还会带上登录接口返回的 user_id 与 access_token (用于校验用户有没有登录),以下为post方法调用实例。
*
2 post 方法返回的是 promise 对象,需要传递 url 与 paramter 对象,此方法默认还会带上登录接口返回的 user_id 与 access_token (用于校验用户有没有登录),以下为post方法调用实例。
access_token
```
javascript
//品牌下拉框初始化
...
...
车租易APP开发.md
View file @
0c2866c1
...
...
@@ -32,6 +32,19 @@
*
[
4.1 前端开发说明
](
/ionic/ionic-instruction.md
)
*
[
4.2 接口访问方法
](
/angular/hlsHttp.md
)
*
[
4.3 弹框提醒方法
](
/angular/hlsPopup.md
)
*
[
4.4 弹框提醒方法
](
/angular/hlsPopup.md
)
...
...
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