Showing
2 changed files
with
5 additions
and
12 deletions
| @@ -96,12 +96,4 @@ export class HttpParams { | @@ -96,12 +96,4 @@ export class HttpParams { | ||
| 96 | return '1.0.0'; | 96 | return '1.0.0'; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | - //获取机型 | ||
| 100 | - static getPhoneModel() { | ||
| 101 | - return 'getPhoneModel' | ||
| 102 | - } | ||
| 103 | - //获取当前手机系统版本号 | ||
| 104 | - static getSystemVersion() { | ||
| 105 | - return 'getSystemVersion' | ||
| 106 | - } | ||
| 107 | } | 99 | } |
| 1 | import { FeedbackTypeBean, PhotoListBean } from 'wdBean/Index'; | 1 | import { FeedbackTypeBean, PhotoListBean } from 'wdBean/Index'; |
| 2 | -import { FastClickUtil, Logger, NetworkUtil, StringUtils, ToastUtils, UserDataLocal } from 'wdKit/Index'; | 2 | +import { AppUtils, |
| 3 | + DeviceUtil, | ||
| 4 | + FastClickUtil, Logger, NetworkUtil, StringUtils, ToastUtils, UserDataLocal } from 'wdKit/Index'; | ||
| 3 | import { MultiPictureDetailViewModel } from '../viewmodel/MultiPictureDetailViewModel'; | 5 | import { MultiPictureDetailViewModel } from '../viewmodel/MultiPictureDetailViewModel'; |
| 4 | import { CustomTitleUI } from './reusable/CustomTitleUI' | 6 | import { CustomTitleUI } from './reusable/CustomTitleUI' |
| 5 | import { picker } from '@kit.CoreFileKit'; | 7 | import { picker } from '@kit.CoreFileKit'; |
| @@ -8,7 +10,6 @@ import { router } from '@kit.ArkUI'; | @@ -8,7 +10,6 @@ import { router } from '@kit.ArkUI'; | ||
| 8 | import { CommonConstants } from 'wdConstant/Index'; | 10 | import { CommonConstants } from 'wdConstant/Index'; |
| 9 | import { ProcessUtils } from 'wdRouter/Index'; | 11 | import { ProcessUtils } from 'wdRouter/Index'; |
| 10 | import { HashMap } from '@kit.ArkTS'; | 12 | import { HashMap } from '@kit.ArkTS'; |
| 11 | -import { HttpParams } from 'wdNetwork/src/main/ets/http/HttpCommonParams'; | ||
| 12 | 13 | ||
| 13 | const TAG = 'FeedBackActivity' | 14 | const TAG = 'FeedBackActivity' |
| 14 | 15 | ||
| @@ -355,8 +356,8 @@ export struct FeedBackActivity { | @@ -355,8 +356,8 @@ export struct FeedBackActivity { | ||
| 355 | map.set("userName", UserDataLocal.getUserName()); | 356 | map.set("userName", UserDataLocal.getUserName()); |
| 356 | } | 357 | } |
| 357 | //设备 | 358 | //设备 |
| 358 | - map.set("appVersion", "V" + HttpParams.getVersionName()); | ||
| 359 | - map.set("appDevice", "harmony" + HttpParams.getSystemVersion() + " " + HttpParams.getPhoneModel()); | 359 | + map.set("appVersion", "V" + AppUtils.getAppVersionName()); |
| 360 | + map.set("appDevice", "harmony" + DeviceUtil.getDisplayVersion() + " " + DeviceUtil.getProductModel()); | ||
| 360 | // //投诉图片 | 361 | // //投诉图片 |
| 361 | // if (imageUrl.size() > 0) { | 362 | // if (imageUrl.size() > 0) { |
| 362 | // String[] str = imageUrl.toArray(new String[imageUrl.size()]); | 363 | // String[] str = imageUrl.toArray(new String[imageUrl.size()]); |
-
Please register or login to post a comment