MCPcopy Create free account

hub / github.com/bubucuo/snow-mall / functions

Functions73 in github.com/bubucuo/snow-mall

↓ 6 callersFunctiongetProduct
(index)
mock/util.js:4
↓ 2 callersFunctioneditCart
(params: QueryItem)
src/services/editCart.ts:9
↓ 2 callersFunctionnode
({ id, title, img }: DataItem)
src/pages/home/Recommend/index.tsx:8
↓ 2 callersFunctions
()
src/static/iconfont/iconfont.js:24
↓ 1 callersFunctionNode
({ img, title, price, tags, id }: ProductType)
src/pages/search/List/index.tsx:72
↓ 1 callersFunctiongetDefaultReceivingInfo
()
src/services/confirmBill.ts:3
↓ 1 callersFunctiongetList
()
mock/recommend.ts:6
↓ 1 callersFunctiongetList
()
mock/cart.ts:5
↓ 1 callersFunctiongetNowProduct
({ id }: { id: string })
mock/product.ts:5
↓ 1 callersFunctiongetOList
()
mock/olist.ts:4
↓ 1 callersFunctiongetProductList
({ pageNo = 0, pageSize = 10, total, }: getProductListProps)
mock/search.ts:13
↓ 1 callersFunctiongetProductListBySearch
({ pageNo = 0, pageSize = 10, searchKey = '', total, }: getProductListProps)
mock/search.ts:38
↓ 1 callersFunctionhandleSubmit
(value: LoginParams)
src/pages/login/index.tsx:23
↓ 1 callersFunctionlogout
()
src/pages/user/index.tsx:19
↓ 1 callersFunctiononOpenChange
()
src/pages/confirmBill/PayBar/index.tsx:14
↓ 1 callersFunctionquery
()
src/services/olist.ts:3
↓ 1 callersFunctionquery
()
src/services/cart.ts:3
↓ 1 callersFunctionquery
(params: QueryItem)
src/services/product.ts:7
↓ 1 callersFunctionquery
(params: { pageNo: number; pageSize: number; searchKey?: string; })
src/services/search.ts:3
↓ 1 callersFunctionqueryRecommend
()
src/services/home.ts:3
FunctionArc
({ className })
src/components/Arc/index.tsx:9
FunctionBasicLayout
src/layouts/BasicLayout.tsx:12
FunctionCartAndBuy
({ product, dispatch })
src/pages/product/CartAndBuy/index.tsx:16
FunctionHeader
({ name, icon })
src/pages/user/Header/index.tsx:35
FunctionList
({ data, updateProduct })
src/pages/cart/List/index.tsx:19
FunctionList
({ data })
src/pages/olist/List/index.tsx:11
FunctionListNode
({ id, title, img, price, count, })
src/pages/confirmBill/ListNode/index.tsx:7
FunctionLogin
({ user, location, dispatch })
src/pages/login/index.tsx:16
FunctionLoginForm
({ form, handleSubmit })
src/pages/login/LoginForm.tsx:13
FunctionLogout
({ logout })
src/pages/user/Logout/index.tsx:10
FunctionMyList
()
src/pages/user/MyList/index.tsx:31
FunctionNav
({ icon, title, link }: NavProps)
src/pages/home/NavTable/index.tsx:86
FunctionNavMall
()
src/pages/home/NavTable/index.tsx:70
FunctionNode
({ id, title, img, price, count, checked, index, updateProduct, }: CartProductType & { updat
src/pages/cart/List/index.tsx:40
FunctionNode
({ id, title, img, price, count })
src/pages/olist/List/index.tsx:21
FunctionPayBar
({ data, checkedAllChange, goPay })
src/pages/cart/PayBar/index.tsx:15
FunctionPayBar
({ totalPrice, count })
src/pages/confirmBill/PayBar/index.tsx:12
FunctionPayModal
({ showPay, onOpenChange })
src/components/PayModal/index.tsx:19
FunctionReceivingInfo
({ name, tel, address })
src/pages/confirmBill/ReceivingInfo/index.tsx:11
FunctionRecommend
()
src/pages/home/Recommend/index.tsx:17
FunctionSeachInput
()
src/pages/home/SearchInput/index.tsx:5
FunctionSearchInput
src/pages/search/SearchInput/index.tsx:9
FunctionSecurityLayout
({ user, children, location, })
src/layouts/SecurityLayout.tsx:10
FunctionTags
({ tags = [] })
src/components/Tags/index.tsx:10
FunctionUser
({ dispatch, user })
src/pages/user/index.tsx:12
FunctionclearUser
(state, action)
src/models/user.ts:98
MethodcomponentDidMount
()
src/pages/product/[id].tsx:21
MethodcomponentDidMount
()
src/pages/search/List/index.tsx:35
MethodcomponentDidMount
()
src/pages/cart/index.tsx:18
MethodcomponentDidMount
()
src/pages/confirmBill/index.tsx:26
MethodcomponentDidMount
()
src/pages/olist/index.tsx:15
FunctionerrorHandler
(error: { response: Response })
src/utils/request.ts:28
FunctionfakeAccountLogin
(params: LoginParams)
src/services/login.ts:8
FunctionfakeAccountLogout
()
src/services/user.ts:11
FunctionfetchCurrent
(_, { call, put })
src/models/user.ts:64
FunctiongetCurrentUserInfo
()
mock/user.ts:7
FunctiongetFakeCaptcha
(req: Request, res: Response)
mock/user.ts:3
FunctiongetList
()
mock/receivingInfo.ts:4
Functionlogin
({ payload }, { call, put })
src/models/user.ts:71
Functionlogout
(_, { call, put })
src/models/user.ts:86
FunctionqueryCurrent
()
src/services/user.ts:3
FunctionqueryDetail
()
src/services/user.ts:7
FunctionqueryDetail
(_, { call, put })
src/models/user.ts:82
Methodrender
()
src/components/BottomNav/index.tsx:33
Methodrender
()
src/pages/product/[id].tsx:29
Methodrender
()
src/pages/search/index.tsx:65
Methodrender
()
src/pages/search/List/index.tsx:40
Methodrender
()
src/pages/cart/index.tsx:54
Methodrender
()
src/pages/confirmBill/index.tsx:37
Methodrender
()
src/pages/olist/index.tsx:20
FunctionsaveCart
(state, action)
src/models/cart.ts:24
FunctionsaveUser
(state, action)
src/models/user.ts:95
Functionsubmit
()
src/pages/login/LoginForm.tsx:15