fix api proxy, route urls and filters
This commit is contained in:
@ -147,7 +147,7 @@ function createFEServiceFunc(view: EndpointDef): string {
|
||||
}
|
||||
let addTypeDeclaration = method === 'get' || method === 'post';
|
||||
let useList = view.type === 'list' || view.type === 'search';
|
||||
let url = URL[view.type](view).replace(':' + view.component + '_id', '\' + ' + view.component + '_id');
|
||||
let url = view.component + '/' + URL[view.type](view).replace(':' + view.component + '_id', '\' + ' + view.component + '_id');
|
||||
let isUpdateOrCreate = view.type === 'update' || view.type === 'create';
|
||||
|
||||
func = `
|
||||
|
Reference in New Issue
Block a user