API 正在返回 url.Link string uri = Url.Link("GetFlexTriggerEventDataExchangeById", new { id = result.RecordID }); 然后通过 angular js 将其附加到 UI。下面是angular js的代码片段。
FlexTriggerEventDataExchange: apiResource('Flex/FlexTriggerEvents/:parentId/DataExchanges/:id', { id: '@RecordID', parentId: '@Parent_RecordID' }, { 查找:{ 方法:'GET',网址:'Flex/FlexTriggerEvents/:parentId/DataExchanges/:id/Lookup', isArray: true } }),