MCPcopy Create free account

hub / github.com/JohnDoe1996/fastAPI-vue / functions

Functions416 in github.com/JohnDoe1996/fastAPI-vue

↓ 73 callersFunctionrespSuccessJson
接口成功返回
backend/app/common/resp.py:15
↓ 48 callersMethodquery
查询
backend/app/common/curd_base.py:52
↓ 23 callersFunctionrespErrorJson
错误接口返回
backend/app/common/resp.py:27
↓ 20 callersFunctionresolve
(dir)
frontend/dashboard/vue.config.js:5
↓ 18 callersMethoddelete
逻辑删除
backend/app/common/curd_base.py:101
↓ 16 callersMethoduse
use 使用logger :param str log_name: logger name None to root, defaults to None :param str log_dir: log文件输出路径, defaults to "
backend/app/utils/loggers.py:54
↓ 14 callersMethodget
(self, db: Session, _id: int, to_dict: bool = True)
backend/app/apps/permission/curd/curd_role.py:26
↓ 13 callersMethodget
通过id获取
backend/app/common/curd_base.py:47
↓ 12 callersFunctionparseTime
(time, cFormat)
frontend/dashboard/src/utils/index.js:11
↓ 12 callersMethodupdate
(self, db: Session, *, _id: int, obj_in, updater_id: int = 0)
backend/app/apps/permission/curd/curd_user.py:57
↓ 9 callersFunctionformatTime
(time, option)
frontend/dashboard/src/utils/index.js:59
↓ 8 callersMethodget
通过id获取
backend/app/apps/system/curd/curd_dict_detail.py:10
↓ 7 callersMethoddeleteCacheByID
(self, r: asyncRedis, _id: int)
backend/app/apps/system/curd/curd_dict_data.py:45
↓ 6 callersMethodget_multi
分页查询 :return (data, total, offset, limit)
backend/app/common/curd_base.py:62
↓ 5 callersMethodcreate
(self, db: Session, *, obj_in, creator_id: int = 0)
backend/app/apps/user/curd/curd_user.py:65
↓ 5 callersFunctiongetToken
()
frontend/dashboard/src/utils/auth.js:5
↓ 5 callersFunctionget_password_hash
(password: str)
backend/app/common/security.py:24
↓ 5 callersFunctionget_uuid
生成uuid :param res_type: :type str 返回类型, 默认str
backend/app/utils/encrypt.py:6
↓ 4 callersMethodcreate
(self, db: Session, *, obj_in: CreateSchemaType, creator_id: int = 0)
backend/app/apps/permission/curd/curd_role.py:14
↓ 4 callersMethoddt2ts
使用原生SQL把数据库时间转换为时间戳(使用时间戳解决时区问题) :param column: type: Column 需要转换的数据库日期字段 :param label: type: string 转后时间戳的的字段名(相当于
backend/app/db/base_class.py:29
↓ 3 callersMethodgetByEmail
通过email获取用户
backend/app/apps/user/curd/curd_user.py:19
↓ 3 callersMethodgetMaxOrderNum
(self, db: Session)
backend/app/common/curd_base.py:133
↓ 3 callersFunctionpluralize
* Show plural label if time is plural number * @param {number} time * @param {string} label * @return {string}
frontend/dashboard/src/filters/index.js:10
↓ 3 callersMethodsearch
(self, db: Session, *, key: str = "", name: str = "", status: int = None, page: int = 1, page_s
backend/app/apps/permission/curd/curd_role.py:37
↓ 3 callersMethodupdate
更新
backend/app/common/curd_base.py:91
↓ 3 callersFunctionvalidAlphabets
(str)
frontend/dashboard/src/utils/validate.js:55
↓ 3 callersFunctionvalidLowerCase
(str)
frontend/dashboard/src/utils/validate.js:37
↓ 3 callersFunctionvalidURL
(url)
frontend/dashboard/src/utils/validate.js:28
↓ 3 callersFunctionvalidUpperCase
(str)
frontend/dashboard/src/utils/validate.js:46
↓ 3 callersFunctionvalidUsername
(str)
frontend/dashboard/src/utils/validate.js:18
↓ 2 callersMethodchangePwd
(self, db: Session, _id: int, *, pwd: str)
backend/app/apps/user/curd/curd_user.py:158
↓ 2 callersFunctioncheckPermission
(el, binding)
frontend/dashboard/src/directive/permission/permission.js:3
↓ 2 callersMethodcreate
创建
backend/app/common/curd_base.py:81
↓ 2 callersFunctioncreateRouter
()
frontend/dashboard/src/router/index.js:108
↓ 2 callersFunctioncreate_base64_code
(k: int, *, img_width: int = 100, img_height: int = 50, font_sizes:List[int] = None)
backend/app/utils/captcha_code.py:43
↓ 2 callersFunctiondebounce
(func, wait, immediate)
frontend/dashboard/src/utils/index.js:254
↓ 2 callersFunctiondoResize
(el, binding, vnode)
frontend/dashboard/src/directive/el-table/adaptive.js:10
↓ 2 callersMethodget
通过id获取
backend/app/apps/permission/curd/curd_perm_label.py:19
↓ 2 callersMethodgetAccessHandler
(log_path: str)
backend/app/utils/loggers.py:38
↓ 2 callersMethodgetByKey
(self, db: Session, key: str)
backend/app/apps/system/curd/curd_config_setting.py:18
↓ 2 callersMethodgetByType
(self, db: Session, _type: str, status_in: Tuple[int] = None)
backend/app/apps/system/curd/curd_dict_data.py:19
↓ 2 callersMethodgetByUsername
通过用户名获取用户
backend/app/apps/user/curd/curd_user.py:13
↓ 2 callersMethodgetErrorHandler
(log_path: str)
backend/app/utils/loggers.py:46
↓ 2 callersMethodgetMongoURL
getMongoURL 获取MongoDB链接句柄
backend/app/core/config.py:76
↓ 2 callersMethodgetRedisURL
获取redis连接语句
backend/app/core/config.py:58
↓ 2 callersMethodgetRoles
(self, db: Session, _id: int)
backend/app/apps/user/curd/curd_user.py:78
↓ 2 callersFunctionhandleClick
(el, binding)
frontend/dashboard/src/directive/waves/waves.js:5
↓ 2 callersFunctionhasClass
(ele, cls)
frontend/dashboard/src/utils/index.js:334
↓ 2 callersMethodremove
物理删除
backend/app/common/curd_base.py:119
↓ 2 callersFunctionremoveToken
()
frontend/dashboard/src/utils/auth.js:13
↓ 2 callersFunctionresetRouter
()
frontend/dashboard/src/router/index.js:117
↓ 2 callersMethodsend
(self, to: str, title: str, template_name: str, data: dict = None, email_from: str = None)
backend/app/utils/email.py:38
↓ 2 callersFunctionsetToken
(token)
frontend/dashboard/src/utils/auth.js:9
↓ 2 callersFunctionverify_password
(plain_password: str, hashed_password: str)
backend/app/common/security.py:20
↓ 1 callersFunctionanimateScroll
()
frontend/dashboard/src/utils/scroll-to.js:40
↓ 1 callersMethodauthenticate
(self, db: Session, *, user: str, password: str)
backend/app/apps/user/curd/curd_user.py:31
↓ 1 callersFunctioncamel_case_2_underscore
驼峰命名转下划线命名MallUser, mailName 替换成 mall_user :param name: :param symbol: 链接符号, 默认是下划线 :return:
backend/app/utils/transform.py:4
↓ 1 callersMethodchangePassword
(self, db: Session, *, _id: int, new_password: str, updater_id: int = 0)
backend/app/apps/permission/curd/curd_user.py:52
↓ 1 callersFunctioncheck
()
frontend/dashboard/src/directive/sticky.js:66
↓ 1 callersMethodcheckEmailAvailability
(self, db: Session, *, email: str, exclude_id: int = None)
backend/app/apps/user/curd/curd_user.py:51
↓ 1 callersFunctioncheckNeed
()
frontend/dashboard/src/utils/error-log.js:10
↓ 1 callersMethodcheckPhoneAvailability
(self, db: Session, *, phone: str, exclude_id: int = None)
backend/app/apps/user/curd/curd_user.py:58
↓ 1 callersMethodcheckPwd
(self, db: Session, _id: int, *, pwd: str)
backend/app/apps/user/curd/curd_user.py:154
↓ 1 callersMethodcheckUsernameAvailability
(self, db: Session, *, username: str, exclude_id: int = None)
backend/app/apps/user/curd/curd_user.py:44
↓ 1 callersFunctioncleanArray
(actual)
frontend/dashboard/src/utils/index.js:136
↓ 1 callersFunctionclipboardError
()
frontend/dashboard/src/utils/clipboard.js:12
↓ 1 callersFunctionclipboardSuccess
()
frontend/dashboard/src/utils/clipboard.js:4
↓ 1 callersFunctioncreateApp
()
backend/app/main.py:12
↓ 1 callersMethodcreateLogger
(self, log_dir: str, log_name: str)
backend/app/common/middleware.py:47
↓ 1 callersFunctioncreate_code
(k: int, *, img_width: int = 100, img_height: int = 50, font_sizes:List[int] = None)
backend/app/utils/captcha_code.py:32
↓ 1 callersFunctioncustomExceptions
(app: FastAPI)
backend/app/common/exceptions.py:14
↓ 1 callersFunctionfilterAsyncRoutes
(routes)
frontend/dashboard/src/store/modules/permission.js:46
↓ 1 callersFunctiongenerate_menu
(data)
frontend/dashboard/src/store/modules/permission.js:24
↓ 1 callersMethodgetByKeyWithCache
(self, r: asyncRedis, db: Session, key: str)
backend/app/apps/system/curd/curd_config_setting.py:28
↓ 1 callersMethodgetByPhone
通过手机号获取用户
backend/app/apps/user/curd/curd_user.py:25
↓ 1 callersMethodgetByTypeWithCache
(self, r: asyncRedis, db: Session, _type: str)
backend/app/apps/system/curd/curd_dict_data.py:34
↓ 1 callersMethodgetConsoleHandler
()
backend/app/utils/loggers.py:30
↓ 1 callersMethodgetLabelsByRolesID
(self, db: Session, roles_id: Union[Tuple[int], List[int]])
backend/app/apps/permission/curd/curd_perm_label.py:73
↓ 1 callersMethodgetLabelsRoleIds
(self, db: Session, *, labels: Tuple[str], redis: Redis = None)
backend/app/apps/permission/curd/curd_perm_label.py:83
↓ 1 callersMethodgetMenus
(self, db: Session, _id: int = None)
backend/app/apps/user/curd/curd_user.py:81
↓ 1 callersMethodgetMenusTree
(self, db: Session, _id: int = None)
backend/app/apps/user/curd/curd_user.py:111
↓ 1 callersFunctiongetPageTitle
(pageTitle)
frontend/dashboard/src/utils/get-page-title.js:5
↓ 1 callersFunctiongetRouters
()
frontend/dashboard/src/api/user.js:75
↓ 1 callersFunctiongetScroll
(target, top)
frontend/dashboard/src/directive/sticky.js:32
↓ 1 callersMethodgetSelectList
(self, db: Session, status_in: List[int] = None)
backend/app/apps/permission/curd/curd_role.py:55
↓ 1 callersMethodgetSimpleList
(self, db: Session, *, status_in: List[int] = None, to_dict: bool = True)
backend/app/apps/permission/curd/curd_menu.py:24
↓ 1 callersMethodgetSimpleTree
(self, db: Session, *, status_in: List[int] = None)
backend/app/apps/permission/curd/curd_menu.py:30
↓ 1 callersMethodgetSqlalchemyURL
获取sqlachemy的连接语句, 如SQLite(sqlite))这类数据库可能不一样,请重写。
backend/app/core/config.py:45
↓ 1 callersFunctionget_db
get SQLAlchemy session to curd :return: SQLAlchemy Session
backend/app/common/deps.py:25
↓ 1 callersMethodget_max_order_num
(self, db: Session, parent_id: int = None)
backend/app/apps/permission/curd/curd_menu.py:39
↓ 1 callersMethodget_max_order_num
(self, db: Session, *, dict_data_id: int )
backend/app/apps/system/curd/curd_dict_detail.py:16
↓ 1 callersFunctionget_mongo
get_mongo 获取MongoDB数据库连接 :param str db_name: 选择的数据库名称 :return database.Database:
backend/app/db/mongo.py:35
↓ 1 callersFunctionget_redis
get_redis 同步的redis :return redis.Redis
backend/app/db/cache.py:35
↓ 1 callersFunctionhandleTree
(data, id, parent_id, children, rootId)
frontend/dashboard/src/utils/ruoyi.js:148
↓ 1 callersMethodinit
继承后用作数据初始化处理 :return:
backend/app/common/curd_base.py:40
↓ 1 callersFunctionisArray
(arg)
frontend/dashboard/src/utils/validate.js:84
↓ 1 callersFunctionisString
(str)
frontend/dashboard/src/utils/validate.js:73
↓ 1 callersMethodlistColumns
列出所有字段
backend/app/db/base_class.py:48
↓ 1 callersFunctionloadView
(view)
frontend/dashboard/src/store/modules/permission.js:38
↓ 1 callersFunctionloadedTinymce
()
frontend/dashboard/src/components/Tinymce/dynamicLoadScript.js:3
next →1–100 of 416, ranked by callers