增加result返回列表,联系人接口增加推送
This commit is contained in:
@@ -30,7 +30,7 @@ public class DeviceApkInfoController {
|
||||
public Result uploadInstallApks(@RequestBody ApkUploadRequest request) {
|
||||
String sn = request.getSn();
|
||||
List<ApkInfo> apkList = request.getApk_list();
|
||||
if (apkList == null || apkList.size() == 0) {
|
||||
if (apkList == null || apkList.isEmpty()) {
|
||||
return Result.error().message("应用列表为空");
|
||||
}
|
||||
deviceApkInfoService.saveOrUpdateDeviceApkInfo(sn, apkList);
|
||||
|
||||
Reference in New Issue
Block a user