mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 04:59:48 +08:00
Merge branch 'v1.4'
This commit is contained in:
commit
ae83c6aecd
@ -251,7 +251,7 @@ public class UserController {
|
||||
* 组织成员列表不分页
|
||||
*/
|
||||
@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) {
|
||||
return userService.getOrgMemberList(request);
|
||||
}
|
||||
|
@ -1416,11 +1416,13 @@ class JMXGenerator {
|
||||
body = this.filterKV(request.body.kvs);
|
||||
this.addRequestBodyFile(httpSamplerProxy, request, testId);
|
||||
} else {
|
||||
body.push({name: '', value: request.body.raw, encode: false, enable: true});
|
||||
if (request.body.raw) {
|
||||
httpSamplerProxy.boolProp('HTTPSampler.postBodyRaw', true);
|
||||
body.push({name: '', value: request.body.raw, encode: false, enable: true});
|
||||
}
|
||||
}
|
||||
|
||||
if (request.method !== 'GET') {
|
||||
httpSamplerProxy.boolProp('HTTPSampler.postBodyRaw', true);
|
||||
httpSamplerProxy.add(new HTTPSamplerArguments(body));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user