@sksoft/api
Advanced tools
| export declare function saveAbilityLevel(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function deleteAbility(params: { | ||
| id: number | string; | ||
| }): any; | ||
| export declare function findAbilityList(): any; | ||
| export declare function findAbilityAll(): any; | ||
| }): Promise<any>; | ||
| export declare function findAbilityList(): Promise<any>; | ||
| export declare function findAbilityAll(): Promise<any>; |
@@ -1,7 +0,8 @@ | ||
| export declare function getPovinceApi(): any; | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function getPovinceApi(): Promise<publicType>; | ||
| export declare function getCityApi(params: { | ||
| provinceID: string | number; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function getAreaApi(params: { | ||
| cityID: string | number; | ||
| }): any; | ||
| }): Promise<any>; |
| import { publicType } from '@sksoft/utils'; | ||
| export declare function createKnowledge(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function updateKnowledge(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function deleteKnowledge(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function listTreeKnowledge(): any; | ||
| export declare function findListKnowledge(): any; | ||
| export declare function getKnowledgeTemplateUrl(): any; | ||
| export declare function exportKnowledge(): any; | ||
| export declare function importKnowledge(params: publicType): any; | ||
| }): Promise<any>; | ||
| export declare function listTreeKnowledge(): Promise<any>; | ||
| export declare function findListKnowledge(): Promise<any>; | ||
| export declare function getKnowledgeTemplateUrl(): Promise<any>; | ||
| export declare function exportKnowledge(): Promise<any>; | ||
| export declare function importKnowledge(params: publicType): Promise<any>; |
@@ -1,17 +0,18 @@ | ||
| export declare function saveQuestion(params: any): any; | ||
| export declare function createTempWpsQuestion(params: any): any; | ||
| export declare function deleteQuestion(params: any): any; | ||
| export declare function auditQuestion(params: any): any; | ||
| export declare function showCount(params: any): any; | ||
| export declare function findListBean(params: any): any; | ||
| export declare function findSetQuesListBean(params: any): any; | ||
| export declare function findAuthListBean(params: any): any; | ||
| export declare function findQuestionType(): any; | ||
| export declare function getTempMaterialUrl(params: any): any; | ||
| export declare function getTemplateUrl(): any; | ||
| export declare function getBeanById(params: any): any; | ||
| export declare function uploadMaterial(params: any): any; | ||
| export declare function uploadMaterialBiz(params: any): any; | ||
| export declare function importQuestion(params: any): any; | ||
| export declare function hasQuestion(params: any): any; | ||
| export declare function deleteByStdId(params: any): any; | ||
| export declare function saveQuestion(params: any): Promise<any>; | ||
| export declare function createTempWpsQuestion(params: any): Promise<any>; | ||
| export declare function deleteQuestion(params: any): Promise<any>; | ||
| export declare function auditQuestion(params: any): Promise<any>; | ||
| export declare function showCount(params: any): Promise<any>; | ||
| export declare function findListBean(params: any): Promise<any>; | ||
| export declare function findSetQuesListBean(params: any): Promise<any>; | ||
| export declare function findAuthListBean(params: any): Promise<any>; | ||
| export declare function findQuestionType(): Promise<any>; | ||
| export declare function getTempMaterialUrl(params: any): Promise<any>; | ||
| export declare function getTemplateUrl(): Promise<any>; | ||
| export declare function getBeanById(params: any): Promise<any>; | ||
| export declare function uploadMaterial(params: any): Promise<any>; | ||
| export declare function uploadMaterialBiz(params: any): Promise<any>; | ||
| export declare function importQuestion(params: any): Promise<any>; | ||
| export declare function hasQuestion(params: any): Promise<any>; | ||
| export declare function deleteByStdId(params: any): Promise<any>; | ||
| export declare function sharedQuestion(params: any): Promise<any>; |
@@ -19,3 +19,4 @@ import { $request } from "./reques/index.mjs"; | ||
| HasQuestion: "/paper/hasQuestion", | ||
| DeleteByStdId: "/question/deleteByStdId" | ||
| DeleteByStdId: "/question/deleteByStdId", | ||
| SharedQuestion: "/question/sharedQuestion" | ||
| }; | ||
@@ -176,2 +177,8 @@ function saveQuestion(params) { | ||
| } | ||
| function sharedQuestion(params) { | ||
| return $request.post({ | ||
| url: Api.SharedQuestion, | ||
| params | ||
| }); | ||
| } | ||
| export { | ||
@@ -192,2 +199,3 @@ auditQuestion, | ||
| saveQuestion, | ||
| sharedQuestion, | ||
| showCount, | ||
@@ -194,0 +202,0 @@ uploadMaterial, |
| export declare function findByModuleType(params: any): Promise<any>; | ||
| export declare function findPublicByModuleType(params: any): Promise<any>; | ||
| export declare function findByObjectType(params: any): Promise<any>; | ||
| export declare function createRuleItem(params: any): any; | ||
| export declare function updateRuleItem(params: any): any; | ||
| export declare function createRuleItem(params: any): Promise<any>; | ||
| export declare function updateRuleItem(params: any): Promise<any>; | ||
| export declare function deleteRuleItem(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function getRuleModuleType(): any; | ||
| }): Promise<any>; | ||
| export declare function getRuleModuleType(): Promise<any>; | ||
| export declare function getRuleObjectType(params: any): Promise<any>; |
@@ -0,12 +1,13 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function beginAuthenBysmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function retryAuthenBysmseApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function resetPwdBySmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function doAuthenBysmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
| export declare function getCodeStaticApi(params: { | ||
| codeTypeId: string | number; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function getCodeHouseApi(params: { | ||
| viewId: string; | ||
| }): any; | ||
| }): Promise<any>; |
| import { publicType } from '@sksoft/utils'; | ||
| export declare function findTextbookListApi(params: publicType): any; | ||
| export declare function findBindTextBookApi(): any; | ||
| export declare function findTextbookListApi(params: publicType): Promise<publicType>; | ||
| export declare function findBindTextBookApi(): Promise<publicType>; | ||
| export declare function setSelectedTextbookApi(params: { | ||
| textbookId: number | string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function createTextbookApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function updateTextbookApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function deleteTextbookApi(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function findChapterListApi(params: publicType): any; | ||
| }): Promise<publicType>; | ||
| export declare function findChapterListApi(params: publicType): Promise<publicType[]>; | ||
| export declare function createChapterApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function updateChapterApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function deleteChapterApi(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function exportChapterApi(params: publicType): any; | ||
| export declare function importChapterApi(params: publicType): any; | ||
| export declare function getChapterTemplateUrlApi(params: publicType): any; | ||
| }): Promise<publicType>; | ||
| export declare function exportChapterApi(params: publicType): Promise<publicType>; | ||
| export declare function importChapterApi(params: publicType): Promise<any>; | ||
| export declare function getChapterTemplateUrlApi(params: publicType): Promise<publicType>; |
@@ -0,13 +1,15 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| import { BaseRequest } from './model/core'; | ||
| export declare function isSessionValidApi(): any; | ||
| import { UserInfo } from './model/userModel'; | ||
| export declare function isSessionValidApi(): Promise<any>; | ||
| export declare function loginApi(params: { | ||
| username: string; | ||
| password: string; | ||
| } & BaseRequest): any; | ||
| export declare function InitAppApi(params: BaseRequest): any; | ||
| export declare function loginoutApi(): any; | ||
| } & BaseRequest): Promise<UserInfo>; | ||
| export declare function InitAppApi(params: BaseRequest): Promise<UserInfo>; | ||
| export declare function loginoutApi(): Promise<any>; | ||
| export declare function resetPwdApi(params: { | ||
| humanId: number; | ||
| newPwd?: string; | ||
| } & BaseRequest): any; | ||
| } & BaseRequest): Promise<any>; | ||
| export declare function updatePwdApi(params: { | ||
@@ -17,13 +19,13 @@ id?: number; | ||
| newPwd?: string; | ||
| } & BaseRequest): any; | ||
| } & BaseRequest): Promise<any>; | ||
| export declare function loginByWxidApi(params: { | ||
| wxid: string; | ||
| loginKind: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function loginByMobileApi(params: { | ||
| mobile: string; | ||
| loginKind: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function checkMobileApi(params: { | ||
| mobile: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
@@ -0,10 +1,11 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function bindWxByHumanApi(params: { | ||
| wxid: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function bindWxByMobileApi(params: { | ||
| mobile: string; | ||
| wxid: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function loginCheckApi(params: { | ||
| code: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
| export declare function saveAbilityLevel(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function deleteAbility(params: { | ||
| id: number | string; | ||
| }): any; | ||
| export declare function findAbilityList(): any; | ||
| export declare function findAbilityAll(): any; | ||
| }): Promise<any>; | ||
| export declare function findAbilityList(): Promise<any>; | ||
| export declare function findAbilityAll(): Promise<any>; |
@@ -1,7 +0,8 @@ | ||
| export declare function getPovinceApi(): any; | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function getPovinceApi(): Promise<publicType>; | ||
| export declare function getCityApi(params: { | ||
| provinceID: string | number; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function getAreaApi(params: { | ||
| cityID: string | number; | ||
| }): any; | ||
| }): Promise<any>; |
| import { publicType } from '@sksoft/utils'; | ||
| export declare function createKnowledge(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function updateKnowledge(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function deleteKnowledge(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function listTreeKnowledge(): any; | ||
| export declare function findListKnowledge(): any; | ||
| export declare function getKnowledgeTemplateUrl(): any; | ||
| export declare function exportKnowledge(): any; | ||
| export declare function importKnowledge(params: publicType): any; | ||
| }): Promise<any>; | ||
| export declare function listTreeKnowledge(): Promise<any>; | ||
| export declare function findListKnowledge(): Promise<any>; | ||
| export declare function getKnowledgeTemplateUrl(): Promise<any>; | ||
| export declare function exportKnowledge(): Promise<any>; | ||
| export declare function importKnowledge(params: publicType): Promise<any>; |
@@ -1,17 +0,18 @@ | ||
| export declare function saveQuestion(params: any): any; | ||
| export declare function createTempWpsQuestion(params: any): any; | ||
| export declare function deleteQuestion(params: any): any; | ||
| export declare function auditQuestion(params: any): any; | ||
| export declare function showCount(params: any): any; | ||
| export declare function findListBean(params: any): any; | ||
| export declare function findSetQuesListBean(params: any): any; | ||
| export declare function findAuthListBean(params: any): any; | ||
| export declare function findQuestionType(): any; | ||
| export declare function getTempMaterialUrl(params: any): any; | ||
| export declare function getTemplateUrl(): any; | ||
| export declare function getBeanById(params: any): any; | ||
| export declare function uploadMaterial(params: any): any; | ||
| export declare function uploadMaterialBiz(params: any): any; | ||
| export declare function importQuestion(params: any): any; | ||
| export declare function hasQuestion(params: any): any; | ||
| export declare function deleteByStdId(params: any): any; | ||
| export declare function saveQuestion(params: any): Promise<any>; | ||
| export declare function createTempWpsQuestion(params: any): Promise<any>; | ||
| export declare function deleteQuestion(params: any): Promise<any>; | ||
| export declare function auditQuestion(params: any): Promise<any>; | ||
| export declare function showCount(params: any): Promise<any>; | ||
| export declare function findListBean(params: any): Promise<any>; | ||
| export declare function findSetQuesListBean(params: any): Promise<any>; | ||
| export declare function findAuthListBean(params: any): Promise<any>; | ||
| export declare function findQuestionType(): Promise<any>; | ||
| export declare function getTempMaterialUrl(params: any): Promise<any>; | ||
| export declare function getTemplateUrl(): Promise<any>; | ||
| export declare function getBeanById(params: any): Promise<any>; | ||
| export declare function uploadMaterial(params: any): Promise<any>; | ||
| export declare function uploadMaterialBiz(params: any): Promise<any>; | ||
| export declare function importQuestion(params: any): Promise<any>; | ||
| export declare function hasQuestion(params: any): Promise<any>; | ||
| export declare function deleteByStdId(params: any): Promise<any>; | ||
| export declare function sharedQuestion(params: any): Promise<any>; |
@@ -21,3 +21,4 @@ "use strict"; | ||
| HasQuestion: "/paper/hasQuestion", | ||
| DeleteByStdId: "/question/deleteByStdId" | ||
| DeleteByStdId: "/question/deleteByStdId", | ||
| SharedQuestion: "/question/sharedQuestion" | ||
| }; | ||
@@ -178,2 +179,8 @@ function saveQuestion(params) { | ||
| } | ||
| function sharedQuestion(params) { | ||
| return index.$request.post({ | ||
| url: Api.SharedQuestion, | ||
| params | ||
| }); | ||
| } | ||
| exports.auditQuestion = auditQuestion; | ||
@@ -193,4 +200,5 @@ exports.createTempWpsQuestion = createTempWpsQuestion; | ||
| exports.saveQuestion = saveQuestion; | ||
| exports.sharedQuestion = sharedQuestion; | ||
| exports.showCount = showCount; | ||
| exports.uploadMaterial = uploadMaterial; | ||
| exports.uploadMaterialBiz = uploadMaterialBiz; |
| export declare function findByModuleType(params: any): Promise<any>; | ||
| export declare function findPublicByModuleType(params: any): Promise<any>; | ||
| export declare function findByObjectType(params: any): Promise<any>; | ||
| export declare function createRuleItem(params: any): any; | ||
| export declare function updateRuleItem(params: any): any; | ||
| export declare function createRuleItem(params: any): Promise<any>; | ||
| export declare function updateRuleItem(params: any): Promise<any>; | ||
| export declare function deleteRuleItem(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function getRuleModuleType(): any; | ||
| }): Promise<any>; | ||
| export declare function getRuleModuleType(): Promise<any>; | ||
| export declare function getRuleObjectType(params: any): Promise<any>; |
@@ -0,12 +1,13 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function beginAuthenBysmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function retryAuthenBysmseApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function resetPwdBySmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function doAuthenBysmsApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
| export declare function getCodeStaticApi(params: { | ||
| codeTypeId: string | number; | ||
| }): any; | ||
| }): Promise<any>; | ||
| export declare function getCodeHouseApi(params: { | ||
| viewId: string; | ||
| }): any; | ||
| }): Promise<any>; |
| import { publicType } from '@sksoft/utils'; | ||
| export declare function findTextbookListApi(params: publicType): any; | ||
| export declare function findBindTextBookApi(): any; | ||
| export declare function findTextbookListApi(params: publicType): Promise<publicType>; | ||
| export declare function findBindTextBookApi(): Promise<publicType>; | ||
| export declare function setSelectedTextbookApi(params: { | ||
| textbookId: number | string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function createTextbookApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function updateTextbookApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function deleteTextbookApi(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function findChapterListApi(params: publicType): any; | ||
| }): Promise<publicType>; | ||
| export declare function findChapterListApi(params: publicType): Promise<publicType[]>; | ||
| export declare function createChapterApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function updateChapterApi(params: { | ||
| jsonStr: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function deleteChapterApi(params: { | ||
| id: string | number; | ||
| }): any; | ||
| export declare function exportChapterApi(params: publicType): any; | ||
| export declare function importChapterApi(params: publicType): any; | ||
| export declare function getChapterTemplateUrlApi(params: publicType): any; | ||
| }): Promise<publicType>; | ||
| export declare function exportChapterApi(params: publicType): Promise<publicType>; | ||
| export declare function importChapterApi(params: publicType): Promise<any>; | ||
| export declare function getChapterTemplateUrlApi(params: publicType): Promise<publicType>; |
@@ -0,13 +1,15 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| import { BaseRequest } from './model/core'; | ||
| export declare function isSessionValidApi(): any; | ||
| import { UserInfo } from './model/userModel'; | ||
| export declare function isSessionValidApi(): Promise<any>; | ||
| export declare function loginApi(params: { | ||
| username: string; | ||
| password: string; | ||
| } & BaseRequest): any; | ||
| export declare function InitAppApi(params: BaseRequest): any; | ||
| export declare function loginoutApi(): any; | ||
| } & BaseRequest): Promise<UserInfo>; | ||
| export declare function InitAppApi(params: BaseRequest): Promise<UserInfo>; | ||
| export declare function loginoutApi(): Promise<any>; | ||
| export declare function resetPwdApi(params: { | ||
| humanId: number; | ||
| newPwd?: string; | ||
| } & BaseRequest): any; | ||
| } & BaseRequest): Promise<any>; | ||
| export declare function updatePwdApi(params: { | ||
@@ -17,13 +19,13 @@ id?: number; | ||
| newPwd?: string; | ||
| } & BaseRequest): any; | ||
| } & BaseRequest): Promise<any>; | ||
| export declare function loginByWxidApi(params: { | ||
| wxid: string; | ||
| loginKind: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function loginByMobileApi(params: { | ||
| mobile: string; | ||
| loginKind: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function checkMobileApi(params: { | ||
| mobile: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
@@ -0,10 +1,11 @@ | ||
| import { publicType } from '@sksoft/utils'; | ||
| export declare function bindWxByHumanApi(params: { | ||
| wxid: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function bindWxByMobileApi(params: { | ||
| mobile: string; | ||
| wxid: string; | ||
| }): any; | ||
| }): Promise<publicType>; | ||
| export declare function loginCheckApi(params: { | ||
| code: string; | ||
| }): any; | ||
| }): Promise<publicType>; |
+1
-1
| { | ||
| "name": "@sksoft/api", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "main": "index.ts", | ||
@@ -5,0 +5,0 @@ "module": "dist/es/index.mjs", |
+11
-0
@@ -21,2 +21,5 @@ import { $request } from "./reques" | ||
| DeleteByStdId: '/question/deleteByStdId', | ||
| SharedQuestion: '/question/sharedQuestion', | ||
| } | ||
@@ -182,2 +185,10 @@ | ||
| export function sharedQuestion(params) { | ||
| return $request.post({ | ||
| url: Api.SharedQuestion, | ||
| params: params, | ||
| }) | ||
| } | ||
79446
3.51%3174
1.12%