/**
 * This file is generated by the RequestConfigGenerator.
 * Do not edit.
 */
import { RequestMethod } from '@gopowerteam/http-request'

// 控制器名称
const controller = '{{controller}}'
const service = '{{service}}'
const gateway = '{{gateway}}'

export const {{controllerClass}} = {
{{#each actions}}
    // {{comment}}
    {{action}}: {
        gateway,
        service,
        controller,
        path: '{{path}}',
        {{#unless defaultAction}}
        action: '{{action}}',
        {{/unless}}
        type: RequestMethod.{{method}}
    }{{#unless @last}},{{/unless}}
{{/each}}
}
