@Service public class ApiServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<ApiDao,ApiEntity> implements IApiService
| 构造器和说明 |
|---|
ApiServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiEntity |
add(ApiEntity apiEntity)
新增API
|
void |
checkAppIdAndAppSecret(ApiEntity groovyApiEntity)
新增或者修改检查appId和AppSecret
|
void |
delete(String id)
删除API
|
ApiEntity |
getByPath(String path) |
PageVO<ApiEntity> |
getPage(ApiSearchDto groovyApiSearchDto)
分页查询
|
void |
publish(String id,
Integer status)
发布上线API
|
ApiEntity |
update(ApiEntity apiEntity)
修改API
|
void |
updateAppSecret(String id)
更新API的密钥
|
void |
updateDoc(String id,
String invokeManual)
更新API用户手册
|
closeSqlSession, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getMap, getObj, getOne, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdpublic PageVO<ApiEntity> getPage(ApiSearchDto groovyApiSearchDto)
IApiServicegetPage 在接口中 IApiServicepublic ApiEntity add(ApiEntity apiEntity)
IApiServiceadd 在接口中 IApiServicepublic ApiEntity update(ApiEntity apiEntity)
IApiServiceupdate 在接口中 IApiServicepublic void publish(String id, Integer status)
IApiServicepublish 在接口中 IApiServicepublic void updateAppSecret(String id)
IApiServiceupdateAppSecret 在接口中 IApiServicepublic void updateDoc(String id, String invokeManual)
IApiServiceupdateDoc 在接口中 IApiServicepublic void delete(String id)
IApiServicedelete 在接口中 IApiServicepublic ApiEntity getByPath(String path)
getByPath 在接口中 IApiServicepublic void checkAppIdAndAppSecret(ApiEntity groovyApiEntity)
Copyright © 2023. All rights reserved.