mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
fix:设备信息
This commit is contained in:
parent
7f27bbf332
commit
d6e52b1a24
8 changed files with 49 additions and 14 deletions
|
|
@ -33,6 +33,7 @@ export async function toSetDefaultDevice() {
|
|||
!info?.deviceName ||
|
||||
!info?.deviceBoard ||
|
||||
!info?.deviceModel ||
|
||||
!info?.androidVersion ||
|
||||
!info?.deviceFingerprint ||
|
||||
!info?.deviceProduct
|
||||
) {
|
||||
|
|
@ -43,6 +44,7 @@ export async function toSetDefaultDevice() {
|
|||
productName: info.deviceProduct,
|
||||
productType: info.deviceName,
|
||||
modelName: info.deviceModel,
|
||||
osVersion: info.androidVersion,
|
||||
deviceInfo: info.deviceFingerprint,
|
||||
board: info.deviceBoard,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ export class Panel extends ZZZPlugin {
|
|||
async bindDevice() {
|
||||
const uid = await this.getUID();
|
||||
//先throw一步(
|
||||
const ltuid = await this.getLtuid();
|
||||
this.setContext('toBindDevice');
|
||||
await this.reply(
|
||||
`为UID ${uid}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,
|
||||
|
|
@ -73,6 +72,7 @@ export class Panel extends ZZZPlugin {
|
|||
!info?.deviceBoard ||
|
||||
!info?.deviceModel ||
|
||||
!info?.oaid ||
|
||||
!info?.androidVersion ||
|
||||
!info?.deviceFingerprint ||
|
||||
!info?.deviceProduct
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue