Commit a100cc1b by 程裕兵

feat:test

parent c7c6428b
......@@ -50,15 +50,15 @@ public class TestController {
}
@PostMapping(value = "/private/test/upload")
public JsonResult<SignatureVO> upload(@RequestParam String url) throws IOException {
public JsonResult<SignatureVO> upload(@RequestParam String url, @RequestParam Long tenantId) throws IOException {
GetAuthorityRequest request = new GetAuthorityRequest();
request.setAccessTypeEnum(AccessTypeEnum.PRIVATE);
request.setBizCode("FINANCE_INFO");
request.setTenantId(1L);
request.setTenantId(tenantId);
request.setTenantType("BRAND");
request.setResourceName(IdWorker.getIdStr() + getSuffix(url));
Map<String, String> params = new HashMap<>(1);
params.put("tenantId", "1");
params.put("tenantId", tenantId.toString());
request.setParamMap(params);
JsonResult<SignatureVO> result = authorityApi.getAuthoritySignatureForInner(request);
result.assertSuccess();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment