|
|
|
@ -31,17 +31,17 @@ public class HznlmInteractiveController {
|
|
|
|
|
|
|
|
|
|
private final IHznlmInteractiveService interactiveService; |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/get_auth_data",method = {RequestMethod.GET,RequestMethod.POST}) |
|
|
|
|
@PostMapping(value = "/get_auth_data") |
|
|
|
|
@ApiOperation("获取鉴权数据") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
public R<List<AuthDataVO>> getAuthData(@RequestBody @Valid AuthDataDTO req) { |
|
|
|
|
public R<List<AuthDataVO>> getAuthData(@RequestBody AuthDataDTO req) { |
|
|
|
|
return R.data(interactiveService.getAuthData(req)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiOperation("解析大模型函数") |
|
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
|
@PostMapping("/resolve") |
|
|
|
|
public R<ExtraVO> resolve(@RequestBody @Valid ModelFunctionReq req) { |
|
|
|
|
public R<ExtraVO> resolve(@RequestBody ModelFunctionReq req) { |
|
|
|
|
return R.data(interactiveService.resolve(req)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|