From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改
---
force-app/main/default/classes/QuolifiedApplySPOController.cls | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/QuolifiedApplySPOController.cls b/force-app/main/default/classes/QuolifiedApplySPOController.cls
index e66b4bf..fd43054 100644
--- a/force-app/main/default/classes/QuolifiedApplySPOController.cls
+++ b/force-app/main/default/classes/QuolifiedApplySPOController.cls
@@ -6,9 +6,9 @@
try {
Account report = [SELECT Id,Is_Active__c FROM Account WHERE Id = :recordId];
User userinfo = [SELECT id,ProfileId,Job_Category__c FROM User WHERE Id = :myUserID LIMIT 1];
- res.IsActive = report.Is_Active__c;
- res.ProfileId = userinfo.ProfileId;
- res.JobCategory = userinfo.Job_Category__c;
+ res.isActive = report.Is_Active__c;
+ res.profileId = userinfo.ProfileId;
+ res.jobCategory = userinfo.Job_Category__c;
} catch (Exception e) {
throw new AuraHandledException(e.getMessage());
}
@@ -32,10 +32,10 @@
public class InitData{
@AuraEnabled
- public string IsActive;
+ public string isActive;
@AuraEnabled
- public string ProfileId;
+ public string profileId;
@AuraEnabled
- public string JobCategory;
+ public string jobCategory;
}
}
\ No newline at end of file
--
Gitblit v1.9.1