Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapConfigToMiniProgramUserConfig ¶
func MapConfigToMiniProgramUserConfig(app kernel.ApplicationInterface) (userConfig *miniProgram.UserConfig, err error)
func MapUserConfig ¶
func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
Types ¶
type UserConfig ¶
type Work ¶
type Work struct { *kernel.ServiceContainer Base *base.Client AccessToken *auth.AccessToken Auth *auth.Client OAuth *oauth.Manager Config *kernel.Config Department *department.Client JSSDK *jssdk.Client Agent *agent.Client AgentWorkbench *workbench.Client Message *message.Client Messager *message.Messager MessageAppChat *appChat.Client MessageExternalContact *externalContact2.Client MessageLinkedCorp *linkedCorp2.Client Encryptor *kernel.Encryptor Server *server.Guard User *user.Client UserBatchJobs *batchJobs.Client UserExportJobs *exportJobs.Client UserLinkedCorp *linkedCorp.Client UserTag *tag.Client ExternalContact *externalContact.Client ExternalContactContactWay *contactWay.Client ExternalContactCustomerStrategy *customerStrategy.Client ExternalContactStatistics *statistics.Client ExternalContactGroupWelcomeTemplate *groupWelcomeTemplate.Client ExternalContactSchool *school.Client ExternalContactMoment *moment.Client ExternalContactMomentStrategy *momentStrategy.Client ExternalContactMessageTemplate *messageTemplate.Client ExternalContactGroupChat *groupChat.Client ExternalContactTag *tag2.Client ExternalContactTransfer *transfer.Client AccountService *accountService.Client AccountServiceCustomer *customer.Client AccountServiceMessage *message3.Client AccountServiceServicer *servicer.Client AccountServiceState *serviceState.Client AccountServiceTag *tag3.Client Media *media.Client Menu *menu.Client OA *oa.Client OACalendar *calendar.Client OADial *dial.Client OAJournal *journal.Client OALiving *living.Client OAMeeting *meeting.Client OAMeetingRoom *meetingroom.Client OAPSTNCC *pstncc.Client OASchedule *schedule.Client OAWebDrive *webdrive.Client OAApproval *approval.Client MsgAudit *msgaudit.Client CorpGroup *corpgroup.Client Invoice *invoice.Client GroupRobot *groupRobot.Client GroupRobotMessenger *groupRobot.Messager IdConvert *idConvert.Client Logger *logger.Logger }
func NewWork ¶
func NewWork(config *UserConfig) (*Work, error)
func (*Work) GetAccessToken ¶
func (app *Work) GetAccessToken() *kernel.AccessToken
func (*Work) GetComponent ¶
func (*Work) GetContainer ¶
func (app *Work) GetContainer() *kernel.ServiceContainer
func (*Work) MiniProgram ¶
func (app *Work) MiniProgram() (*miniProgram.Application, error)
Click to show internal directories.
Click to hide internal directories.