|
@@ -1,48 +0,0 @@
|
|
|
-//package com.qmth.teachcloud.exchange.common.api;
|
|
|
-//
|
|
|
-//import com.qmth.boot.api.annotation.Aac;
|
|
|
-//import com.qmth.boot.api.annotation.BOOL;
|
|
|
-//import com.qmth.boot.api.constant.ApiConstant;
|
|
|
-//import com.qmth.teachcloud.exchange.common.service.CommonService;
|
|
|
-//import com.qmth.teachcloud.exchange.common.util.Result;
|
|
|
-//import io.swagger.annotations.*;
|
|
|
-//import org.slf4j.Logger;
|
|
|
-//import org.slf4j.LoggerFactory;
|
|
|
-//import org.springframework.validation.annotation.Validated;
|
|
|
-//import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-//import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-//import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-//import org.springframework.web.bind.annotation.RestController;
|
|
|
-//
|
|
|
-//import javax.annotation.Resource;
|
|
|
-//import java.io.IOException;
|
|
|
-//
|
|
|
-///**
|
|
|
-// * <p>
|
|
|
-// * 知学知考开放接口前端控制器
|
|
|
-// * </p>
|
|
|
-// *
|
|
|
-// * @author wangliang
|
|
|
-// * @since 2022-04-26
|
|
|
-// */
|
|
|
-//@Api(tags = "公用开放跳转接口Controller")
|
|
|
-//@RestController
|
|
|
-//@RequestMapping(ApiConstant.DEFAULT_URI_PREFIX + "/${prefix.url.open}/common")
|
|
|
-//@Validated
|
|
|
-//public class CommonOpenApiController {
|
|
|
-// private static final Logger log = LoggerFactory.getLogger(CommonOpenApiController.class);
|
|
|
-//
|
|
|
-// @Resource
|
|
|
-// CommonService commonService;
|
|
|
-//
|
|
|
-// @ApiOperation(value = "公用跳转接口")
|
|
|
-// @ApiResponses({@ApiResponse(code = 200, message = "返回消息", response = Result.class)})
|
|
|
-// @RequestMapping(value = "/authentication/teachcloud", method = RequestMethod.POST)
|
|
|
-// @Aac(auth = BOOL.FALSE)
|
|
|
-// public void authenticationTeachcloud(@ApiParam(value = "工号", required = true) @RequestParam String account,
|
|
|
-// @ApiParam(value = "学校code", required = true) @RequestParam String schoolCode,
|
|
|
-// @ApiParam(value = "返回url") @RequestParam(required = false) String returnUrl,
|
|
|
-// @ApiParam(value = "其它参数") @RequestParam(required = false) String params) throws IOException {
|
|
|
-// commonService.redirectLogic(account, schoolCode, returnUrl, params);
|
|
|
-// }
|
|
|
-//}
|