Merge branch 'v1.4'
This commit is contained in:
commit
ae83c6aecd
|
@ -251,7 +251,7 @@ public class UserController {
|
||||||
* 组织成员列表不分页
|
* 组织成员列表不分页
|
||||||
*/
|
*/
|
||||||
@PostMapping("/org/member/list/all")
|
@PostMapping("/org/member/list/all")
|
||||||
@RequiresRoles(value = {RoleConstants.ORG_ADMIN, RoleConstants.TEST_MANAGER}, logical = Logical.OR)
|
@RequiresRoles(value = {RoleConstants.ORG_ADMIN, RoleConstants.TEST_MANAGER, RoleConstants.TEST_USER, RoleConstants.TEST_MANAGER}, logical = Logical.OR)
|
||||||
public List<User> getOrgMemberList(@RequestBody QueryOrgMemberRequest request) {
|
public List<User> getOrgMemberList(@RequestBody QueryOrgMemberRequest request) {
|
||||||
return userService.getOrgMemberList(request);
|
return userService.getOrgMemberList(request);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1416,11 +1416,13 @@ class JMXGenerator {
|
||||||
body = this.filterKV(request.body.kvs);
|
body = this.filterKV(request.body.kvs);
|
||||||
this.addRequestBodyFile(httpSamplerProxy, request, testId);
|
this.addRequestBodyFile(httpSamplerProxy, request, testId);
|
||||||
} else {
|
} else {
|
||||||
|
if (request.body.raw) {
|
||||||
|
httpSamplerProxy.boolProp('HTTPSampler.postBodyRaw', true);
|
||||||
body.push({name: '', value: request.body.raw, encode: false, enable: true});
|
body.push({name: '', value: request.body.raw, encode: false, enable: true});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (request.method !== 'GET') {
|
if (request.method !== 'GET') {
|
||||||
httpSamplerProxy.boolProp('HTTPSampler.postBodyRaw', true);
|
|
||||||
httpSamplerProxy.add(new HTTPSamplerArguments(body));
|
httpSamplerProxy.add(new HTTPSamplerArguments(body));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue