https://www.bilibili.com/video/BV1jy4y1B7pw?p=140&spm_id_from=pageDriver
uniapp封装request,设置请求头与token,前端判断token过期:
https://blog.csdn.net/mmwanwen/article/details/115839839?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-5.control