类 TransProxyController
java.lang.Object
org.dromara.trans.controller.TransProxyController
@RestController
@RequestMapping("/easyTrans/proxy")
public class TransProxyController
extends Object
翻译服务请求转发代理
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
TransProxyController
public TransProxyController()
-
-
方法详细资料
-
findByIds
@PostMapping("/{targetClass}/findByIds") public List findByIds(@PathVariable("targetClass") String targetClass, @RequestBody FindByIdsQueryPayload payload) throws ClassNotFoundException findByIds- 参数:
targetClass- 目标类- 抛出:
ClassNotFoundException
-
findById
@GetMapping("/{targetClass}/findById/{id}") public Object findById(@PathVariable("targetClass") String targetClass, @PathVariable("id") String id, @RequestParam("uniqueField") String uniqueField, @RequestParam("targetFields") String targetFields) throws ClassNotFoundException, IllegalAccessException 根据id查询- 参数:
targetClass- 目标类- 抛出:
ClassNotFoundExceptionIllegalAccessException
-