📜  基本的闪电应用程序 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:09.743000             🧑  作者: Mango

代码示例1
// Apex Controller for Contact List Lightning Componentpublic class ContactListController {            @AuraEnabled    public static List getContactList(List accountIds) {        // Getting the list of contacts from where Id is in accountIds                List contactList = [SELECT Id, Name, Email, Phone, AccountId FROM Contact WHERE AccountId in :accountIds];                // Returning the contact list        return contactList;    }}