mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
typo: 默认设备
This commit is contained in:
parent
74ed1a676f
commit
de7123f9a2
1 changed files with 7 additions and 10 deletions
|
|
@ -75,21 +75,18 @@ export default class ZZZApiTool {
|
|||
}
|
||||
|
||||
getUrlMap = (data = {}) => {
|
||||
const deiveCfg = settings.getConfig('device') || {};
|
||||
const {
|
||||
productName = _.get(settings.getConfig('device'), 'productName', 'J9110'),
|
||||
deviceType = _.get(settings.getConfig('device'), 'productType', 'J9110'),
|
||||
modelName = _.get(settings.getConfig('device'), 'modelName', 'J9110'),
|
||||
oaid = _.get(
|
||||
settings.getConfig('device'),
|
||||
'oaid',
|
||||
'17a40451-9947-4430-a4fe-29f15e8497c1'
|
||||
),
|
||||
productName = _.get(deiveCfg, 'productName', 'J9110'),
|
||||
deviceType = _.get(deiveCfg, 'productType', 'J9110'),
|
||||
modelName = _.get(deiveCfg, 'modelName', 'J9110'),
|
||||
oaid = _.get(deiveCfg, 'oaid', '17a40451-9947-4430-a4fe-29f15e8497c1'),
|
||||
deviceInfo = _.get(
|
||||
settings.getConfig('device'),
|
||||
deiveCfg,
|
||||
'deviceInfo',
|
||||
'Sony/J9110/J9110:11/55.2.A.4.332/055002A004033203408384484:user/release-keys'
|
||||
),
|
||||
board = _.get(settings.getConfig('device'), 'board', 'msmnile'),
|
||||
board = _.get(deiveCfg, 'board', 'msmnile'),
|
||||
} = data;
|
||||
const deviceBrand = deviceInfo.split('/')[0];
|
||||
let urlMap = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue