链接: https://pan.baidu.com/s/1lb8JcHXYHduDZkJmhxRbfg 提取码: hrfb 复制这段内容后打开百度网盘手机App,操作更方便哦
安装这2个apk
hosts文件传到手机上 指定路径导入
服务器端nginx 配置
/usr/local/nginx/conf/nginx.conf
HttpCanary.apk强制升级
HTTP/1.1 200 OK
Server: Tengine
Date: Tue, 03 Dec 2019 12:14:52 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 47
Connection: keep-alive
Keep-Alive: timeout=30
X-Powered-By: PHP/7.3.7
Access-Control-Allow-Origin: file://
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, authKey, sessionId
{code: 101, error: "请先登录"}
请求登录接口:
POST /index.php/admin/base/login HTTP/1.1
Host: crm.easy100.com
Connection: keep-alive
Content-Length: 87
authKey: 732eb637b6da101ca62e7ce128ac6e1c
Accept: application/json, text/plain, */*
Origin: file://
sessionId: einimnj4hfuu9mk6vq9ibvlti3
User-Agent: Mozilla/5.0 (Linux; Android 9; Redmi 7A Build/PKQ1.190319.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36
Content-Type: application/json;charset=UTF-8
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: PHPSESSID=einimnj4hfuu9mk6vq9ibvlti3
X-Requested-With: com.kakarote.crm9
{"username":"mengxiaojing","password":"123456","type":1,"mobile":1,"platform":"mobile"}
登录接口响应:
HTTP/1.1 200 OK
Server: Tengine
Date: Tue, 03 Dec 2019 12:14:51 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 532
Connection: keep-alive
Keep-Alive: timeout=30
X-Powered-By: PHP/7.3.7
Access-Control-Allow-Origin: file://
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, authKey, sessionId
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
{"code":200,"data":{"authKey":"732eb637b6da101ca62e7ce128ac6e1c","sessionId":"einimnj4hfuu9mk6vq9ibvlti3","userInfo":{"id":1741,"username":"mengxiaojing","password":"38f3eb92d6bb786d16de424d2d2da813","salt":"4be0","img":"","thumb_img":"","create_time":"2019-11-09","realname":"cd3孟晓静","num":"EE00925","email":"[email protected]","mobile":"13825974082","sex":"","structure_id":6,"post":"区域经理","status":1,"parent_id":5,"authkey_time":1575461659,"type":1},"authList":[],"menusList":null,"loginExpire":86400},"error":""}
相关文章: