新增手机品牌参数

master
gongfuxiang 2024-10-18 15:26:53 +08:00
parent 328d4b031e
commit e820335a8e
1 changed files with 8 additions and 1 deletions

View File

@ -344,6 +344,7 @@
var token = user == null ? '' : user.token || '';
var uuid = this.request_uuid();
var client_value = this.application_client_type();
var client_brand = this.application_client_brand();
//
var params = this.get_launch_cache_info();
var referrer = params == null ? null : params.referrer || null;
@ -358,7 +359,7 @@
//
var join = url.indexOf('?') == -1 ? '?' : '&';
return url + join + 'system_type=' + this.data.system_type + '&application=app&application_client_type=' + client_value + '&token=' + token + '&uuid=' + uuid + referrer_params + user_location_params + '&lang=' + lang+'&theme='+theme;
return url + join + 'system_type=' + this.data.system_type + '&application=app&application_client_type=' + client_value + '&application_client_brand=' + client_brand + '&token=' + token + '&uuid=' + uuid + referrer_params + user_location_params + '&lang=' + lang+'&theme='+theme;
},
/**
@ -1873,6 +1874,12 @@
return value;
},
// app
application_client_brand(e) {
var value = this.get_system_info('brand', null, true);
return (value === null) ? '' : value.toLowerCase();
},
//
auth_check(object, method, scope, msg) {
var self = this;