|
@@ -2,7 +2,6 @@ package com.qmth.distributed.print.api;
|
|
|
|
|
|
import com.qmth.boot.api.constant.ApiConstant;
|
|
import com.qmth.boot.api.constant.ApiConstant;
|
|
import com.qmth.boot.core.solar.crypto.AppLicenseUtil;
|
|
import com.qmth.boot.core.solar.crypto.AppLicenseUtil;
|
|
-import com.qmth.distributed.print.business.bean.dto.TSAuthDto;
|
|
|
|
import com.qmth.distributed.print.business.service.AuthInfoService;
|
|
import com.qmth.distributed.print.business.service.AuthInfoService;
|
|
import com.qmth.teachcloud.common.bean.dto.AuthOrgInfoDto;
|
|
import com.qmth.teachcloud.common.bean.dto.AuthOrgInfoDto;
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
@@ -50,7 +49,7 @@ public class TSAuthController {
|
|
CommonCacheService commonCacheService;
|
|
CommonCacheService commonCacheService;
|
|
|
|
|
|
@ApiOperation(value = "导出硬件信息")
|
|
@ApiOperation(value = "导出硬件信息")
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "导出硬件信息", response = TSAuthDto.class)})
|
|
|
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "导出硬件信息", response = Object.class)})
|
|
@RequestMapping(value = "/export/device/info", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/export/device/info", method = RequestMethod.POST)
|
|
public void info() {
|
|
public void info() {
|
|
try {
|
|
try {
|
|
@@ -63,7 +62,7 @@ public class TSAuthController {
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "离线激活")
|
|
@ApiOperation(value = "离线激活")
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "授权配置信息", response = TSAuthDto.class)})
|
|
|
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "授权配置信息", response = Boolean.class)})
|
|
@RequestMapping(value = "/offline/activation", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/offline/activation", method = RequestMethod.POST)
|
|
public Result offlineActivation(@ApiParam(value = "上传文件", required = true) @RequestParam(required = true) MultipartFile file) {
|
|
public Result offlineActivation(@ApiParam(value = "上传文件", required = true) @RequestParam(required = true) MultipartFile file) {
|
|
try {
|
|
try {
|
|
@@ -75,7 +74,7 @@ public class TSAuthController {
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查询激活信息")
|
|
@ApiOperation(value = "查询激活信息")
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "授权配置信息", response = TSAuthDto.class)})
|
|
|
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "授权配置信息", response = Long.class)})
|
|
@RequestMapping(value = "/select", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/select", method = RequestMethod.POST)
|
|
public Result select() {
|
|
public Result select() {
|
|
Long schoolId = SystemConstant.getHeadOrUserSchoolId();
|
|
Long schoolId = SystemConstant.getHeadOrUserSchoolId();
|