OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
22
app/Domain/Setting/Js/settingService.js
Normal file
22
app/Domain/Setting/Js/settingService.js
Normal file
@@ -0,0 +1,22 @@
|
||||
leantime.settingService = (function () {
|
||||
|
||||
// Variables (underscore for private variables)
|
||||
var publicThing = "not secret";
|
||||
var _privateThing = "secret";
|
||||
|
||||
//Constructor
|
||||
(function () {
|
||||
|
||||
})();
|
||||
|
||||
//Functions
|
||||
|
||||
var saveLogo = function (photo) {
|
||||
leantime.settingRepository.saveLogo(photo);
|
||||
};
|
||||
|
||||
// Make public what you want to have public, everything else is private
|
||||
return {
|
||||
saveLogo: saveLogo
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user