|
|
@ -1,5 +1,7 @@ |
|
|
|
package com.ccsens.wisdomcar.api; |
|
|
|
|
|
|
|
import com.ccsens.cloudutil.annotation.CacheMd5; |
|
|
|
import com.ccsens.signin.service.IUserService; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.WebConstant; |
|
|
|
import io.swagger.annotations.Api; |
|
|
@ -12,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
|
|
|
@Api(tags = "DEBUG" , description = "DebugController | ") |
|
|
@ -20,6 +23,10 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
@Slf4j |
|
|
|
public class DebugController { |
|
|
|
|
|
|
|
@Resource |
|
|
|
private IUserService userService; |
|
|
|
|
|
|
|
@CacheMd5 |
|
|
|
@ApiOperation(value = "/测试",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
}) |
|
|
@ -28,7 +35,7 @@ public class DebugController { |
|
|
|
// @CacheEvict(cacheNames = "signin",key = "#clientType+'-'+#identifyType+'-'+#identifier+'-'+#credential")
|
|
|
|
public JsonResponse debug(WebConstant.CLIENT_TYPE clientType, WebConstant.IDENTIFY_TYPE identifyType, |
|
|
|
String identifier, String credential) throws Exception { |
|
|
|
|
|
|
|
// String name = userService.getUserNameByUserId(1218025249493356544L);
|
|
|
|
return JsonResponse.newInstance().ok("测试"); |
|
|
|
} |
|
|
|
|
|
|
|