java后端微信小程序登录与注册

java后端微信小程序登录与注册&微信登录授权

分析:
微信小程序用户表 的字段来源于微信服务器 , 必须想办法去获取到对应的用户信息
找到微信开放平台: 微信开放平台

以下是微信开放平台给出的登录流程图:

微信小程序登录流程
微信给出的字段值:

{"nickName": "Band","gender": 1,"language": "zh_CN","city": "Guangzhou","province": "Guangdong","country": "CN","avatarUrl": "http://wx.qlogo.cn/mmopen/vi_32/1vZvI39NWFQ9XM4LtQpFrQJ1xlgZxx3w7bQxKARol6503Iuswjjn6nIGBiaycAjAtpujxyzYsrztuuICqIM5ibXQ/0"
}

用户表需要增加phone,openId,unionId字段 , 总体如下

package com.tencent.iov.userservice.model;import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.sql.Timestamp;/*** 拼车用户信息* @ Author: wangfei* @ Date  : 2021/7/15 16:32* @ Version: 1.0* @author HP*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarpoolUser {@Id@GeneratedValue(strategy = GenerationType.IDENTITY)private Long carpoolUserId;private String openId;private String unionId;private String nickName;private String avatarUrl;private String phoneArr;private Integer gender;private String city;private String province;private String country;private String language;private Boolean carOwnerRole;private Boolean passengerRole;private Timestamp registerTime;private Timestamp createTime;private Timestamp updateTime;private Integer status;
}

mysql 建表语句

CREATE TABLE `carpool_user` (`carpool_user_id` bigint(14) NOT NULL AUTO_INCREMENT COMMENT '拼车用户主键ID',`open_id` varchar(64) NOT NULL COMMENT '小程序平台用户标识',`union_id` varchar(64) NOT NULL DEFAULT '' COMMENT '第三方平台用户统一标识',`nick_name` varchar(100) DEFAULT NULL COMMENT '用户在平台上的昵称',`avatar_url` varchar(200) DEFAULT '' COMMENT '用户头像',`phone_arr` varchar(60) DEFAULT NULL COMMENT '联系电话,保留三个',`gender` tinyint(1) DEFAULT '0' COMMENT '用户的性别,1:男性 2:女性 0:未知',`city` varchar(16) DEFAULT '' COMMENT '用户所在城市',`province` varchar(16) DEFAULT '' COMMENT '用户所在省份',`country` varchar(50) DEFAULT '' COMMENT '用户所在国家',`language` varchar(50) DEFAULT '' COMMENT '用户的语言',`car_owner_role` tinyint(1) DEFAULT '0' COMMENT '车主身份,0否 1是',`passenger_role` tinyint(1) DEFAULT '0' COMMENT '乘客身份,0否 1是',`register_time` datetime(3) DEFAULT CURRENT_TIMESTAMP(3) COMMENT '注册时间',`create_time` datetime(3) DEFAULT CURRENT_TIMESTAMP(3) COMMENT '创建时间',`update_time` datetime(3) DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT '更新时间',`status` tinyint(1) DEFAULT '1' COMMENT '用户的状态 -1. 注销 1. 正常  2.限制',PRIMARY KEY (`carpool_user_id`) USING BTREE,UNIQUE KEY `UQ_OPEN_ID` (`open_id`) USING BTREE,KEY `NQ_PHONE` (`phone_arr`) USING BTREE,KEY `NQ_NICK_NAME` (`nick_name`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=288152851 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='拼车用户表';
  1. 微信小程序登录
    登录逻辑: 通过code获取openId和session_key, 把openId和session_key缓存在redis中, 因为code只能使用一次, 避免重复获取openId与session_key , 根据openId查询数据库是否有用户存在, 不存在需要返回错误码通知前端 , 进行用户信息授权, 调用绑定接口进行解密,创建用户基础信息,自定义登录态(生成token).

实现代码

 @Overridepublic BaseResponse<GroupMinLoginResponse> handleGroupMinLogin(GroupMinBindRequest request) throws Exception {String code = request.getCode();AssertUtil.isTrue(OpenTypeEnum.isCarpoolMinProgram(request.getOpenType()), AccountResultEnum.EXCEPTION);OpenTypeEnum openType = OpenTypeEnum.CARPOOL_MIN_PROGRAM;String encryptedUserData = request.getEncryptedUserData();String userIV = request.getUserIV();// code只能使用一次 , 先从缓存获取openId和session_keyOptional<OpenAuthInfo> openAuthInfoOpt = this.getOpenAuthInfoFromCache(code);Optional<AccessTokenResponse> accessTokenOpt =openAuthInfoOpt.map(openAuthInfo -> Optional.ofNullable(openAuthInfo.getAccessTokenInfo())).orElseGet(() -> openLoginHelper.getAccessToken(openType, code));AssertUtil.isTrue(accessTokenOpt.isPresent(), AccountResultEnum.OPEN_AUTH_FAILURE);AccessTokenResponse accessToken = accessTokenOpt.get();String openId = accessToken.getOpenId();// 由于code只能使用一次 , 获取之后保存到redis中this.saveOpenAuthInfoToCache(code, accessToken, null);// 根据openId查询是否存在 carpoolUser用户Optional<QueryCarpoolUserResponse> carpoolUserResponseOpt = userServiceGateway.queryCarpoolUser(openId);// 未绑定用户账号, 返回错误码提示小程序端调起授权页面if (!carpoolUserResponseOpt.isPresent()) {return ResponseUtils.fail(AccountResultEnum.NEED_MINI_PROGRAM_PHONEINFO_USERINFO);}QueryCarpoolUserResponse user = carpoolUserResponseOpt.get();//账号被限制boolean isLimit = UserStatusEnum.isLimit(user.getStatus());AssertUtil.isFalse(isLimit, AccountResultEnum.ACCOUNT_STATUS_INVALID);//账号已注销boolean isDelete = UserStatusEnum.isDelete(user.getStatus());AssertUtil.isFalse(isDelete, AccountResultEnum.ACCOUNT_DELETED);GroupMinLoginResponse response = new GroupMinLoginResponse();// 当用户修改昵称和头像后更新用户信息Optional<OpenUserInfoResponse> openUserInfoOpt = openLoginHelper.decryptMiniProgramUserData(encryptedUserData, userIV, new OpenAuthInfo(accessToken, null));OpenUserInfoResponse openUser = null;if (openUserInfoOpt.isPresent()) {openUser = openUserInfoOpt.get();}AssertUtil.isTrue(Objects.nonNull(openUser), AccountResultEnum.BIND_OPEN_AUTH_FAILURE);BeanUtils.copyProperties(openUser, user);long userCarpoolId = user.getCarpoolUserId();String token = loginResultUtils.generateAndSaveToken(userCarpoolId, UserTypeEnum.USER, null, openId, openType.value, request.getPlatform(), openId);BeanUtils.copyProperties(user, response);response.setIsRegister(false);response.setOpenId(openId);response.setToken(token);// 登录日志this.saveLoginLogInfo(user, openType.value);// 更新用户信息UpdateCarpoolUserRequest updateCarpoolUserRequest = new UpdateCarpoolUserRequest();BeanUtils.copyProperties(user, updateCarpoolUserRequest);userServiceGateway.updateCarpoolUser(updateCarpoolUserRequest);return ResponseUtils.success(response);}

其中有些代码是根据自身情况加的, 微信小程序 api 的请求方式,以及redis的保存的方式啥的就不放出来了 , 自己去看文档

解密工具类

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//package com.tencent.iov.parent.utils;import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.Security;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.GCMParameterSpec;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.springframework.security.crypto.codec.Utf8;public class AesUtils {private static final String DEFAULT_CIPHER_ALGORITHM = "AES/GCM/NoPadding";private static final String AES_CBC_PKCS5PADDING = "AES/CBC/PKCS5Padding";private static final String KEY_ALGORITHM = "AES";public AesUtils() {}public static byte[] encrypt(byte[] data, byte[] key) throws NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException {Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", "BC");byte[] iv = new byte[key.length];CommonUtils.SECURE_RANDOM.nextBytes(iv);GCMParameterSpec spec = new GCMParameterSpec(128, iv);cipher.init(1, toKey(key), spec);byte[] cipherText = cipher.doFinal(data);ByteBuffer byteBuffer = ByteBuffer.allocate(4 + iv.length + cipherText.length);byteBuffer.putInt(iv.length);byteBuffer.put(iv);byteBuffer.put(cipherText);return byteBuffer.array();}public static byte[] decrypt(byte[] data, byte[] key) throws BadPaddingException, IllegalBlockSizeException, InvalidAlgorithmParameterException, InvalidKeyException, NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException {ByteBuffer byteBuffer = ByteBuffer.wrap(data);int ivLength = byteBuffer.getInt();byte[] iv = new byte[ivLength];byteBuffer.get(iv);byte[] cipherText = new byte[byteBuffer.remaining()];byteBuffer.get(cipherText);Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", "BC");cipher.init(2, toKey(key), new GCMParameterSpec(128, iv));return cipher.doFinal(cipherText);}public static byte[] decrypt(String encryptedData, String secretKey, String iv, String algorithm) throws BadPaddingException, IllegalBlockSizeException, InvalidAlgorithmParameterException, InvalidKeyException, NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException {byte[] aesKey = Base64.decodeBase64(secretKey);byte[] aesIV = Base64.decodeBase64(iv);byte[] aesCipher = Base64.decodeBase64(encryptedData);Cipher cipher = Cipher.getInstance(algorithm, "BC");cipher.init(2, toKey(aesKey), new IvParameterSpec(aesIV));return cipher.doFinal(aesCipher);}public static String encryptCBC(String plainText, String key, final byte[] IV) throws Exception {byte[] keyByte = key.getBytes("UTF-8");byte[] plainTextByte = plainText.getBytes("UTF-8");byte[] cipherText = encryptCBC(plainTextByte, keyByte, IV);String cipherTextStr = Base64.encodeBase64String(cipherText);return cipherTextStr;}public static String decryptCBC(String cipherText, String key, final byte[] IV) throws Exception {byte[] cipherTextByte = Base64.decodeBase64(cipherText);byte[] keyByte = key.getBytes("UTF-8");byte[] plainTextByte = decryptCBC(cipherTextByte, keyByte, IV);String plainText = Utf8.decode(plainTextByte);return plainText;}public static byte[] encryptCBC(byte[] plainText, byte[] key, final byte[] IV) throws Exception {Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");Key keySpec = toKey(key);IvParameterSpec ivSpec = new IvParameterSpec(IV);cipher.init(1, keySpec, ivSpec);byte[] cipherText = cipher.doFinal(plainText);return cipherText;}public static byte[] decryptCBC(byte[] cipherText, byte[] key, final byte[] IV) throws Exception {Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");Key keySpec = toKey(key);IvParameterSpec ivSpec = new IvParameterSpec(IV);cipher.init(2, keySpec, ivSpec);byte[] plainText = cipher.doFinal(cipherText);return plainText;}private static Key toKey(byte[] key) {return new SecretKeySpec(key, "AES");}public static String encrypt(String plainText, String key, String iv) throws Exception {Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", "BC");GCMParameterSpec spec = new GCMParameterSpec(128, iv.getBytes(Charset.forName("UTF-8")));cipher.init(1, toKey(key.getBytes()), spec);byte[] cipherText = cipher.doFinal(plainText.getBytes());String cipherTextStr = Base64.encodeBase64String(cipherText);return cipherTextStr;}public static String decrypt(String cipherText, String key, String iv) throws Exception {byte[] cipherTextByte = Base64.decodeBase64(cipherText);byte[] keyByte = key.getBytes("UTF-8");Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", "BC");cipher.init(2, toKey(keyByte), new GCMParameterSpec(128, iv.getBytes(Charset.forName("UTF-8"))));byte[] plainTextByte = cipher.doFinal(cipherTextByte);String plainText = Utf8.decode(plainTextByte);return plainText;}static {Security.addProvider(new BouncyCastleProvider());}
}
  1. 微信小程序绑定
    绑定实现方式
@Overridepublic BaseResponse<GroupMinBindResponse> handleGroupMinBind(GroupMinBindRequest req) throws Exception {String authorizeCode = req.getCode();AssertUtil.isTrue(OpenTypeEnum.isCarpoolMinProgram(req.getOpenType()), AccountResultEnum.EXCEPTION);OpenTypeEnum openType = OpenTypeEnum.CARPOOL_MIN_PROGRAM;String userIV = req.getUserIV();String encryptedUserData = req.getEncryptedUserData();// 获取缓存的互联相关信息Optional<OpenAuthInfo> openAuthInfoOpt = this.getOpenAuthInfoFromCache(authorizeCode);OpenAuthInfo openAuthInfo = null;if (openAuthInfoOpt.isPresent()) {openAuthInfo = openAuthInfoOpt.get();}AssertUtil.isTrue(Objects.nonNull(openAuthInfo), AccountResultEnum.BIND_OPEN_AUTH_FAILURE);AccessTokenResponse accessToken = openAuthInfo.getAccessTokenInfo();String openId = accessToken.getOpenId();// 解密小程序信息Optional<OpenUserInfoResponse> openUserInfoResponse = openLoginHelper.decryptMiniProgramUserData(encryptedUserData, userIV, openAuthInfo);OpenUserInfoResponse openUser = null;if (openUserInfoResponse.isPresent()) {openUser = openUserInfoResponse.get();}AssertUtil.isTrue(Objects.nonNull(openUser), AccountResultEnum.BIND_OPEN_AUTH_FAILURE);// 根据openId查询用户是否存在Optional<QueryCarpoolUserResponse> carpoolUserResponseOpt = userServiceGateway.queryCarpoolUser(openId);GroupMinBindResponse groupMinBindResponse = new GroupMinBindResponse();if (carpoolUserResponseOpt.isPresent()) {// 存在则修改QueryCarpoolUserResponse queryCarpoolUserResponse = carpoolUserResponseOpt.get();//账号被限制boolean isLimit = UserStatusEnum.isLimit(queryCarpoolUserResponse.getStatus());AssertUtil.isFalse(isLimit, AccountResultEnum.ACCOUNT_STATUS_INVALID);//账号已注销boolean isDelete = UserStatusEnum.isDelete(queryCarpoolUserResponse.getStatus());AssertUtil.isFalse(isDelete, AccountResultEnum.ACCOUNT_DELETED);UpdateCarpoolUserRequest updateCarpoolUserRequest = new UpdateCarpoolUserRequest();BeanUtils.copyProperties(queryCarpoolUserResponse, updateCarpoolUserRequest);BeanUtils.copyProperties(openUser, updateCarpoolUserRequest);Boolean aBoolean = userServiceGateway.updateCarpoolUser(updateCarpoolUserRequest);if (aBoolean) {long userCarpoolId = queryCarpoolUserResponse.getCarpoolUserId();String token = loginResultUtils.generateAndSaveToken(userCarpoolId, UserTypeEnum.USER, null, openId,openType.value, req.getPlatform(), openId);BeanUtils.copyProperties(queryCarpoolUserResponse, groupMinBindResponse);groupMinBindResponse.setIsRegister(false);groupMinBindResponse.setToken(token);// 登录日志this.saveLoginLogInfo(queryCarpoolUserResponse, openType.value);return ResponseUtils.success(groupMinBindResponse);}} else {// 不存在创建CreateCarpoolUserRequest createCarpoolUserRequest = new CreateCarpoolUserRequest();BeanUtils.copyProperties(openUser, createCarpoolUserRequest);createCarpoolUserRequest.setStatus(1);createCarpoolUserRequest.setUnionId(Optional.ofNullable(openUser.getUnionId()).orElse(accessToken.getUnionId()));createCarpoolUserRequest.setOpenId(Optional.ofNullable(openUser.getOpenId()).orElse(openId));Optional<CreateCarpoolUserResponse> createCarpoolUserResponseOpt = userServiceGateway.createCarpoolUser(createCarpoolUserRequest);if (createCarpoolUserResponseOpt.isPresent()) {CreateCarpoolUserResponse carpoolUser = createCarpoolUserResponseOpt.get();BeanUtils.copyProperties(carpoolUser, groupMinBindResponse);long userCarpoolId = carpoolUser.getCarpoolUserId();String token = loginResultUtils.generateAndSaveToken(userCarpoolId, UserTypeEnum.USER, null, openId,openType.value, req.getPlatform(), openId);BeanUtils.copyProperties(carpoolUser, groupMinBindResponse);groupMinBindResponse.setIsRegister(false);groupMinBindResponse.setToken(token);// 登录日志this.saveLoginLogInfo(carpoolUser, openType.value);return ResponseUtils.success(groupMinBindResponse);}}return ResponseUtils.fail(AccountResultEnum.BIND_OPEN_AUTH_FAILURE);}

其中可能会有一些解密失败的问题, 可以找前端一起商量, 百度自行解决

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://xiahunao.cn/news/254434.html

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

微信OAuth2.0授权登录

微信OAuth2.0授权登录 OAuth2.0简介OAuth2的应用微服务安全社交登录 网页微信登录前期准备授权流程 服务器端开发需求网页显示二维码返回微信登录参数添加配置添加配置类controller 前端显示登录二维码封装api请求 处理微信回调添加httpclient工具类添加回调接口获取access_tok…

springboot微信登陆

微信登录的优势 目前微信用户数量巨大&#xff0c;用户更希望通过更快更便捷的方式进行登录&#xff0c;而不是传统的账号密码登录。 springboot 接入微信登陆 准备工作 网站应用微信登录是基于OAuth2.0协议标准构建的微信OAuth2.0授权登录系统。 在进行微信OAuth2.0授权登…

微信小程序注册/登录接口开发

文章目录 后端有关说明前端有关说明接口设计小程序注册/登录接口APP 注册/登录接口PC Web 端的注册/登录接口 小程序注册/登录序列图校验 token 后端有关说明 登录和注册的逻辑要独立抽取写成2个接口&#xff1a;注册接口、登录接口 小程序、APP、PC端的登录接口和注册接口要分…

服务器 微信报警平台,Zabbix实现微信报警

zabbix(音同 zbix)是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。 zabbix能监视各种网络参数&#xff0c;保证服务器系统的安全运营&#xff1b;并提供灵活的通知机制以让系统管理员快速定位/解决存在的各种问题。 下文讲述了如何通过微信实现…

java微信二维码登录

1、注册 微信开放平台&#xff1a;https://open.weixin.qq.com 2、邮箱激活 3、完善开发者资料 4、开发者资质认证 准备营业执照&#xff0c;1-2个工作日审批、300元 5、创建网站应用 提交审核&#xff0c;7个工作日审批 6、内网穿透 ngrok的使用 2.2 授权流程 参考…

工作笔记——微信支付开发相关知识整理

在最近的工作中&#xff0c;引入了微信小程序支付&#xff0c;在开发过程中积累和整理了一些技术知识&#xff0c;现将其整理如下 目录 一、概念认识 &#xff08;一&#xff09;术语介绍 &#xff08;二&#xff09;名词解释 &#xff08;四&#xff09;对接微信支付接口规…

微信小程序——如何实现账号的注册、登录?

用到的数据库表&#xff1a; 用户表&#xff1a;chat-user&#xff0c;用于存放用户的基本信息&#xff0c;比如账号、密码、头像等等 用户的注册 1.先获取用户信息 使用wx.getUserProfile接口&#xff0c;获取用户的基本信息 功能描述获取用户信息。页面产生点击事件&…

java对接企业微信

java对接企业微信 一、注册企业微信 1.1 简介 企业微信与微信具有一样的体验&#xff0c;通过企业内部与外部客户的管理&#xff0c;构建出社群生态。企业微信提供丰富的api进行调用获取数据管理&#xff0c;也提供各种回调事件。 1.2 注册 登录官网&#xff0c;一键注册即可…

微信 JSAPI 支付流程

微信支付&#xff0c;开发文档地址&#xff1a; https://pay.weixin.qq.com/wiki/doc/api/index.html JSAPI支付文档地址&#xff1a; https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter9_2 微信支付分为5种&#xff1a; Jsapi支付&#xff0c;二维码支付&#xf…

android 仿微信demo————注册功能完善添加头像功能(移动端)

android 仿微信demo————微信启动界面实现 android 仿微信demo————注册功能实现&#xff08;移动端&#xff09; android 仿微信demo————注册功能实现&#xff08;服务端&#xff09; android 仿微信demo————登录功能实现&#xff08;移动端&#xff09; an…

微信支付APIv3

文章目录 微信支付之前我的密钥啥的都是放到配置文件里面以后可以再写一个文件基础支付APIv3介绍获取验签和HttpClientAPIv3证书与密钥使用说明 微信支付的SDK工具Native支付流程我们程序运行时的日志也可以使用log.debug在方法堆栈里面查看我们程序执行的方法调用顺序内网穿透…

在线支付系列【8】微信支付之注册商户号

有道无术&#xff0c;术尚可求&#xff0c;有术无道&#xff0c;止于术。 文章目录 前言注册商户号1. 微信扫码登录2. 创建申请单2.1 基本信息2.2 主体身份2.3 法人信息及受益人信息2.4 经营与行业信息2.5 结算账户2.6 补充信息2.7 查看申请单 签约方式一&#xff1a;手机签约方…

Scala函数

1.基本语法 解析main方法 def main(args: Array[String]): Unit {函数体}*def 关键字&#xff0c;声明一个函数 * main 方法名 * args 参数名称 * Array[String] 参数的类型 * Unit 返回值类型&#xff0c;相当于Java中的void&#xff0c;没有返回值 * {} 函数体函数省略规则 …

微信公众号注册时提示该主体注册数量已超过上限怎么办?

很多用户在注册或认证微信公众号时&#xff0c;遇到“该主体注册数量已超过上限”的问题&#xff0c;这是怎么回事呢&#xff1f; 原因是2018年11月16日微信官方对公众号注册数量做了调整&#xff1a; 1.个人主体注册公众号数量上限由2个调整为1个&#xff1b; 2.企业类主体注…

开通微信公众号流程所需资料及时间

2019独角兽企业重金招聘Python工程师标准>>> 序号 阶段 所需资料 所需时间 一、&#xff08;企业&#xff09;注册公众平台 使用未注册过微信公众号的邮箱注册、验证激活 即时二、 选择帐号类型 详情查看服务号、订阅号、企业号区别后选择类型 即时三、信息登记 选择…

支付宝、微信注册时间,轻松查看!

早几天分享过与微信年度报告查询微信使用多少天&#xff0c;朋友圈传播非常火爆&#xff0c;今天教大家一招如何查询支付宝使用多少天。 看到上图还能回想到当时的激动吗&#xff1f; 马上进入正题&#xff0c;不啰嗦&#xff0c;查看支付宝注册日期的方法&#xff0c;也超级简…

车载ECU休眠唤醒-TJA1145

前言 首先&#xff0c;请教大家几个小小问题&#xff0c;你清楚&#xff1a; 什么是TJA1145吗&#xff1f;你知道休眠唤醒控制基本逻辑是怎么样的吗&#xff1f;TJA1145又是如何控制ECU进行休眠唤醒的呢&#xff1f;使用TJA1145时有哪些注意事项呢&#xff1f; 今天&#xff…

oppor15x支持html吗,oppor15x配置参数详情 r15和17的亲儿子

oppor15x虽然看上去和oppor15这款手机比较相似&#xff0c;但是实际上&#xff0c;作为oppo的最新款手机&#xff0c;oppor15x的发布时间是在oppor17之后的&#xff0c;不仅如此&#xff0c;在外观方面&#xff0c;oppor15x和oppor17会更为相似&#xff0c;在配置方面却更偏向o…

oppo r15 android 8,OPPO R15体验:基于安卓8.1,ColorOS 5.0更好用

当目前智能手机硬件性能普遍过剩&#xff0c;越来越多的人们开始逐渐意识到&#xff0c;参数并不等于体验&#xff0c;反而是依附于硬件之上的操作系统很大程度上直接决定了一款智能手机的使用体验。 在当前智能手机市场&#xff0c;虽然说安卓系统占据了绝大部分市场份额&…

android 汇编 参数,安卓ARM汇编基础知识

ARM 是 Advanced RISC Machine 的缩写&#xff0c;可以理解为一种处理器的架构&#xff0c;还可以将它作为一套完整的处理器指令集。RISC(Reduced Instruction Set Computing) 精简指令集计算机&#xff1a;一种执行较少类型计算机指令的微处理器。 处理器指令集: 计算机处理命…