Commit e44ad921 authored by JingChao's avatar JingChao

Updates angular/hlsHttp.md

Auto commit by GitBook Editor
parent e51b2377
......@@ -2,7 +2,8 @@
### I. post方法
APP的开发模式采用前后台完全分离的开发模式,前端代码中必不可少进行调用接口进行数据交互。
* 1.1 `controller`中注入`hlsHttp`
* 1.1 `controller`中注入`hlsHttp`服务,此对象中主要包含`post``get`方法。
* 1.1 `post`方法返回的是`promise`对象,需要传递`url``paramter`对象,此方法默认还会带上登录接口返回的`user_id``access_token`(用于校验用户有没有登录)。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment