fix(接口定义): 修复批量复制场景,创建人是原场景创建人的缺陷
--bug=1018944 --user=王孝刚 【接口测试】用户A批量复制场景用例-复制的场景创建人是原场景创建人 https://www.tapd.cn/55049933/s/1278591
This commit is contained in:
parent
97ef57f529
commit
2aca111f77
|
@ -1932,6 +1932,9 @@ public class ApiScenarioService {
|
|||
api.setName(ServiceUtils.getCopyName(api.getName()));
|
||||
api.setApiScenarioModuleId(request.getApiScenarioModuleId());
|
||||
api.setModulePath(request.getModulePath());
|
||||
api.setCreateUser(SessionUtils.getUserId());
|
||||
api.setUserId(SessionUtils.getUserId());
|
||||
api.setPrincipal(SessionUtils.getUserId());
|
||||
api.setOrder(nextOrder += ServiceUtils.ORDER_STEP);
|
||||
api.setCreateTime(System.currentTimeMillis());
|
||||
api.setUpdateTime(System.currentTimeMillis());
|
||||
|
|
Loading…
Reference in New Issue