fix(接口测试): 修复mock列表不显示请求类型的缺陷
--bug=1041186 --user=王孝刚 【接口测试】Mock列表的请求类型字段显示为空 https://www.tapd.cn/55049933/s/1520768
This commit is contained in:
parent
5e170ed146
commit
4923c6d182
|
@ -13,7 +13,7 @@
|
|||
<select id="list" resultMap="ApiDefinitionMockDTO">
|
||||
select
|
||||
m.id, m.create_time, m.update_time, m.create_user, m.`name`, m.tags, m.`enable`, m.expect_num, m.project_id, m.status_code,
|
||||
m.api_definition_id, u.name as create_user_name, d.path as api_path
|
||||
m.api_definition_id, u.name as create_user_name, d.path as api_path, d.method as apiMethod
|
||||
from api_definition_mock m
|
||||
left join `api_definition` d on d.id = m.api_definition_id
|
||||
left join `user` u on u.id = m.create_user
|
||||
|
|
Loading…
Reference in New Issue