public with sharing class lexUploadOBPMLwcController { public lexUploadOBPMLwcController() { } // @AuraEnabled // public static String init(String recordId) { // String messageText = ''; // try { // Opportunity opp = [SELECT Id,ConfirmationofAward__c FROM Opportunity WHERE Id = :recordId LIMIT 1]; // opp.Id = recordId; // opp.ConfirmationofAward__c = LightingButtonConstant.STATUS_OLYwinBid; // messageText = '1'; // update opp; // System.debug(LoggingLevel.INFO, '*** winBid: ' + opp); // return messageText; // } catch (Exception ex) { // System.debug(LoggingLevel.INFO, '*** winBidXu: ' + ex); // messageText = ex.getMessage(); // return messageText; // } // } @AuraEnabled public static String sendToOBPM(String iflog_Id, List contactids){ NFM702Controller.callout(iflog_Id, contactids); return '上传OBPM成功!'; } }