Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
taroMeeting
Overview
Overview
Details
Activity
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
fengzhaoyu
taroMeeting
Commits
7e3a8664
Commit
7e3a8664
authored
5 years ago
by
王树冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sub
parent
050f12ec
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
readme.md
readme.md
+4
-2
No files found.
readme.md
View file @
7e3a8664
...
...
@@ -3,6 +3,8 @@
> 项目会不断迭代,有需求欢迎issue
> 如果能帮到你,那就给个star呗!
## 欢迎关注订阅号 和我互动

## 文章
*
[
【小程序taro最佳实践】http请求封装(方便使用,增加token,统一错误日志记录和上报)
](
https://segmentfault.com/a/1190000016533592
)
...
...
@@ -96,9 +98,9 @@ export function list() {
}
}
```


> 封装后请求api的使用方式
```
export const list = createApiAction(LIST, params => api.get('news/list', params))
```


This diff is collapsed.
Click to expand it.
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