type
Post
status
Published
date
May 22, 2025
slug
summary
tags
全栈开发
category
移动开发
icon
password
本视频是和朋友们一起探讨在微信小程序、APP等移动客户端中如何实现自动登录的功能,这期视频涉及到的是API端的开发。API将分2期视频来讲解,本期视频主要完成以下内容,分别是: 1.微调客户端的代码,上次视频中客户端代码有一定的瑕疵,这里补充以下; 2.在服务器的user控制中添加autologin方法; 3.在路由中添加autologin方法的路由,确保该方法正常访问; 4.添加中间件APIUserAuth; 5.修改路由,确保autologin方法在访问时首先经过中间件。
- Author:AD
- URL:https://www.adstudio.top/article/1fb3ef87-2a2a-8081-b9e2-e8c2a712fc8a
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!













