740b098318e8106dd19c75cf7ee0c800d708d6e2.svn-base 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. //package cn.com.goldenwater.dcproj.controller;
  2. //
  3. //import cn.com.goldenwater.core.web.BaseController;
  4. //import cn.com.goldenwater.core.web.BaseResponse;
  5. //import cn.com.goldenwater.dcproj.model.AgoraToken;
  6. //import cn.com.goldenwater.dcproj.service.AgoraTokenService;
  7. //import io.swagger.annotations.Api;
  8. //import io.swagger.annotations.ApiOperation;
  9. //import io.swagger.annotations.ApiParam;
  10. //import org.springframework.beans.factory.annotation.Autowired;
  11. //import org.springframework.web.bind.annotation.PostMapping;
  12. //import org.springframework.web.bind.annotation.RequestBody;
  13. //import org.springframework.web.bind.annotation.RequestMapping;
  14. //import org.springframework.web.bind.annotation.RestController;
  15. //
  16. //import java.security.NoSuchAlgorithmException;
  17. //
  18. //@Api(value = "声网Agora Token", tags = "声网Agora Token")
  19. //@RestController
  20. //@RequestMapping("/bis/insp/agora")
  21. //public class AgoraTokenController extends BaseController {
  22. //
  23. // @Autowired
  24. // private AgoraTokenService agoraTokenService;
  25. //
  26. // @ApiOperation(value = "获取Token")
  27. // @PostMapping("/token")
  28. // public BaseResponse getToken(@ApiParam("agoraToken")
  29. // @RequestBody AgoraToken agoraToken) throws NoSuchAlgorithmException {
  30. // return buildSuccessResponse(agoraTokenService.createToken(agoraToken));
  31. // }
  32. //}