Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53fc40efe4 |
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
### v5.7.1
|
||||||
|
* Методы `/access_list/get_by_id`, `/access_list/set_list` теперь возвращают `httpMethod`
|
||||||
### v5.7.0
|
### v5.7.0
|
||||||
* Обновлены зависимости
|
* Обновлены зависимости
|
||||||
* Добавлено поле `http_method` в `access_list`
|
* Добавлено поле `http_method` в `access_list`
|
||||||
|
|||||||
@@ -62,8 +62,9 @@ func (s AccessList) GetById(ctx context.Context, appId int) ([]domain.MethodInfo
|
|||||||
methodInfos := make([]domain.MethodInfo, len(accessList))
|
methodInfos := make([]domain.MethodInfo, len(accessList))
|
||||||
for i, access := range accessList {
|
for i, access := range accessList {
|
||||||
methodInfos[i] = domain.MethodInfo{
|
methodInfos[i] = domain.MethodInfo{
|
||||||
Method: access.Method,
|
HttpMethod: access.HttpMethod,
|
||||||
Value: access.Value,
|
Method: access.Method,
|
||||||
|
Value: access.Value,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,8 +155,9 @@ func (s AccessList) SetList(ctx context.Context, req domain.AccessListSetListReq
|
|||||||
methodInfos := make([]domain.MethodInfo, len(accessList))
|
methodInfos := make([]domain.MethodInfo, len(accessList))
|
||||||
for i, access := range accessList {
|
for i, access := range accessList {
|
||||||
methodInfos[i] = domain.MethodInfo{
|
methodInfos[i] = domain.MethodInfo{
|
||||||
Method: access.Method,
|
HttpMethod: access.HttpMethod,
|
||||||
Value: access.Value,
|
Method: access.Method,
|
||||||
|
Value: access.Value,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user