File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -105,32 +105,32 @@ PS:拼接示例:USERID c25haWx5X3hjeF9uZXc6M0U1TjBtR3dGSTZjZ1BoNEpLdHY4eWQyOVp
105
105
106
106
- 路由设置 route\route.php
107
107
108
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/route .png )
108
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1route .png )
109
109
110
110
- Api类
111
111
112
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/api .png )
112
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1api .png )
113
113
114
114
- Oauth类
115
115
116
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/oauth .png )
116
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1oauth .png )
117
117
118
118
- v1/Token类
119
119
120
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/token .png )
120
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1token .png )
121
121
122
122
### 截图
123
123
### 1、获取token传参
124
124
125
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/test1 .png )
125
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1test1 .png )
126
126
127
- ### 1 、获取token、刷新的token,过期时间,用户信息
128
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/test2 .png )
127
+ ### 2 、获取token、刷新的token,过期时间,用户信息
128
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1test2 .png )
129
129
130
130
131
131
### 3、传递token进行请求
132
132
- 加密头规则:USERID base64_encode(appid:token: uid )
133
- ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/test3 .png )
133
+ ![ ] ( https://github.com/Leslin/thinkphp5-restfulapi/blob/master/screenshot/1test3 .png )
134
134
135
135
136
136
## 快速创建一个restful控制器
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments