|
@@ -144,6 +144,10 @@ public class UserService
|
|
dto.setDeviceType(deviceType);
|
|
dto.setDeviceType(deviceType);
|
|
dto.setDeviceMfrs(deviceMfrs);
|
|
dto.setDeviceMfrs(deviceMfrs);
|
|
dto.setDeviceName(deviceName);
|
|
dto.setDeviceName(deviceName);
|
|
|
|
+ if(deviceModel == "" || deviceModel == null)
|
|
|
|
+ {
|
|
|
|
+ dto.setDeviceModel("未知");
|
|
|
|
+ }
|
|
|
|
|
|
int opRet = userClient.opUserDevice(userId,dto);
|
|
int opRet = userClient.opUserDevice(userId,dto);
|
|
if (opRet == 0)
|
|
if (opRet == 0)
|
|
@@ -318,6 +322,10 @@ public class UserService
|
|
dto.setDeviceType(deviceType);
|
|
dto.setDeviceType(deviceType);
|
|
dto.setDeviceMfrs(deviceMfrs);
|
|
dto.setDeviceMfrs(deviceMfrs);
|
|
dto.setDeviceName(deviceName);
|
|
dto.setDeviceName(deviceName);
|
|
|
|
+ if(deviceModel == "" || deviceModel == null)
|
|
|
|
+ {
|
|
|
|
+ dto.setDeviceModel("未知");
|
|
|
|
+ }
|
|
|
|
|
|
int opRet = userClient.opUserDevice(uid,dto);
|
|
int opRet = userClient.opUserDevice(uid,dto);
|
|
if (opRet == 0)
|
|
if (opRet == 0)
|