Skip to main content
Version: 3.6

Interface 接口

1. 结构声明

class Interface extends ImportedInterface {
name: string = '';
originLogicName: string;
path: string;
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
description: string;
params: Array<InterfaceParam>;
returns: Array<Return>;
validation: BindAttribute;
}