├── deploy ├── db │ └── .gitkeep ├── .gitignore └── bin │ ├── stop.sh │ ├── deploy.sh │ └── reset.sh ├── docker ├── db │ ├── data │ │ └── .gitkeep │ ├── init-sql │ │ └── .gitkeep │ └── conf.d │ │ └── my.cnf ├── litemall │ ├── .gitkeep │ └── Dockerfile ├── .gitignore └── bin │ └── deploy.sh ├── litemall-wx ├── pages │ ├── about │ │ ├── about.json │ │ └── about.wxss │ ├── category │ │ └── category.json │ ├── help │ │ ├── help.json │ │ └── help.wxml │ ├── topic │ │ └── topic.json │ ├── auth │ │ ├── login │ │ │ ├── login.json │ │ │ └── login.wxml │ │ ├── reset │ │ │ └── reset.json │ │ ├── register │ │ │ └── register.json │ │ └── accountLogin │ │ │ └── accountLogin.json │ ├── brand │ │ ├── brand.json │ │ └── brand.wxml │ ├── catalog │ │ └── catalog.json │ ├── coupon │ │ └── coupon.json │ ├── goods │ │ └── goods.json │ ├── search │ │ └── search.json │ ├── checkout │ │ └── checkout.json │ ├── hotGoods │ │ └── hotGoods.json │ ├── newGoods │ │ └── newGoods.json │ ├── ucenter │ │ ├── order │ │ │ └── order.json │ │ ├── address │ │ │ └── address.json │ │ ├── collect │ │ │ └── collect.json │ │ ├── addressAdd │ │ │ └── addressAdd.json │ │ ├── aftersale │ │ │ └── aftersale.json │ │ ├── feedback │ │ │ └── feedback.json │ │ ├── footprint │ │ │ └── footprint.json │ │ ├── couponSelect │ │ │ └── couponSelect.json │ │ ├── orderDetail │ │ │ └── orderDetail.json │ │ ├── aftersaleDetail │ │ │ └── aftersaleDetail.json │ │ ├── aftersaleList │ │ │ └── aftersaleList.json │ │ ├── couponList │ │ │ └── couponList.json │ │ └── index │ │ │ └── index.json │ ├── brandDetail │ │ └── brandDetail.json │ ├── commentPost │ │ └── commentPost.json │ ├── topicDetail │ │ └── topicDetail.json │ ├── groupon │ │ ├── myGroupon │ │ │ └── myGroupon.json │ │ ├── grouponList │ │ │ └── grouponList.json │ │ └── grouponDetail │ │ │ └── grouponDetail.json │ ├── topicCommentPost │ │ └── topicCommentPost.json │ ├── cart │ │ └── cart.json │ ├── index │ │ └── index.json │ ├── comment │ │ └── comment.json │ ├── topicComment │ │ └── topicComment.json │ └── payResult │ │ └── payResult.json ├── lib │ └── vant-weapp │ │ ├── common │ │ ├── style │ │ │ ├── var.wxss │ │ │ ├── theme.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ ├── clearfix.wxss │ │ │ └── ellipsis.wxss │ │ ├── color.js │ │ ├── component.d.ts │ │ ├── color.d.ts │ │ └── utils.d.ts │ │ ├── definitions │ │ ├── index.js │ │ └── weapp.js │ │ ├── area │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── card │ │ ├── index.d.ts │ │ └── index.json │ │ ├── cell │ │ ├── index.d.ts │ │ └── index.json │ │ ├── col │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── field │ │ ├── index.d.ts │ │ └── index.json │ │ ├── grid │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── icon │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxml │ │ ├── image │ │ ├── index.d.ts │ │ └── index.json │ │ ├── info │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── panel │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── popup │ │ ├── index.d.ts │ │ └── index.json │ │ ├── radio │ │ ├── index.d.ts │ │ └── index.json │ │ ├── rate │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxss │ │ ├── row │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── steps │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.js │ │ ├── tab │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── tabs │ │ ├── index.d.ts │ │ └── index.json │ │ ├── tag │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── toast │ │ ├── index.d.ts │ │ └── index.json │ │ ├── button │ │ ├── index.d.ts │ │ └── index.json │ │ ├── cell-group │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── checkbox │ │ ├── index.d.ts │ │ └── index.json │ │ ├── circle │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── collapse │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── count-down │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── utils.d.ts │ │ ├── dialog │ │ ├── index.d.ts │ │ └── index.json │ │ ├── divider │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxml │ │ ├── grid-item │ │ ├── index.d.ts │ │ └── index.json │ │ ├── index-bar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── loading │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxml │ │ ├── nav-bar │ │ ├── index.d.ts │ │ └── index.json │ │ ├── notice-bar │ │ ├── index.d.ts │ │ └── index.json │ │ ├── notify │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── notify.d.ts │ │ ├── overlay │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── picker │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── shared.js │ │ └── shared.d.ts │ │ ├── progress │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxs │ │ ├── radio-group │ │ ├── index.wxml │ │ ├── index.d.ts │ │ ├── index.wxss │ │ └── index.json │ │ ├── search │ │ ├── index.d.ts │ │ └── index.json │ │ ├── sidebar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── skeleton │ │ ├── index.d.ts │ │ └── index.json │ │ ├── slider │ │ ├── index.d.ts │ │ └── index.json │ │ ├── stepper │ │ ├── index.d.ts │ │ └── index.json │ │ ├── sticky │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── submit-bar │ │ ├── index.d.ts │ │ └── index.json │ │ ├── swipe-cell │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── switch │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxml │ │ ├── tabbar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── transition │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── uploader │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── utils.d.ts │ │ └── utils.js │ │ ├── action-sheet │ │ ├── index.d.ts │ │ └── index.json │ │ ├── checkbox-group │ │ ├── index.d.ts │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.json │ │ ├── collapse-item │ │ ├── index.d.ts │ │ └── index.json │ │ ├── datetime-picker │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── dropdown-item │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxss │ │ ├── dropdown-menu │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxs │ │ ├── goods-action │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── index-anchor │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── picker-column │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxss │ │ ├── sidebar-item │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxml │ │ ├── tabbar-item │ │ ├── index.d.ts │ │ └── index.json │ │ ├── tree-select │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxs │ │ ├── goods-action-button │ │ ├── index.d.ts │ │ └── index.json │ │ ├── goods-action-icon │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.js │ │ ├── mixins │ │ ├── link.d.ts │ │ ├── basic.d.ts │ │ ├── button.d.ts │ │ ├── touch.d.ts │ │ ├── open-type.d.ts │ │ ├── observer │ │ │ ├── behavior.d.ts │ │ │ ├── index.d.ts │ │ │ ├── behavior.js │ │ │ └── index.js │ │ ├── transition.d.ts │ │ ├── link.js │ │ └── button.js │ │ └── wxs │ │ ├── array.wxs │ │ ├── utils.wxs │ │ └── object.wxs ├── static │ └── images │ │ ├── cart.png │ │ ├── help.png │ │ ├── home.png │ │ ├── hot.png │ │ ├── my.png │ │ ├── new.png │ │ ├── send.png │ │ ├── about.png │ │ ├── coupon.png │ │ ├── friend.png │ │ ├── group.png │ │ ├── mobile.png │ │ ├── wechat.png │ │ ├── address.png │ │ ├── aftersale.png │ │ ├── category.png │ │ ├── collect.png │ │ ├── comment.png │ │ ├── customer.png │ │ ├── feedback.png │ │ ├── footprint.png │ │ ├── pendpay.png │ │ ├── receive.png │ │ ├── icon_error.png │ │ ├── my@selected.png │ │ ├── cart@selected.png │ │ ├── home@selected.png │ │ └── category@selected.png ├── utils │ └── check.js ├── app.wxss └── sitemap.json ├── .gitbook.yaml ├── litemall-wx-api ├── src │ ├── main │ │ ├── resources │ │ │ ├── application-wx.yml │ │ │ └── application.yml │ │ └── java │ │ │ └── org │ │ │ └── linlinjava │ │ │ └── litemall │ │ │ └── wx │ │ │ ├── annotation │ │ │ └── LoginUser.java │ │ │ ├── dto │ │ │ └── WxLoginInfo.java │ │ │ └── service │ │ │ └── UserTokenManager.java │ └── test │ │ └── java │ │ └── org │ │ └── linlinjava │ │ └── litemall │ │ └── wx │ │ └── BigDecimalTest.java └── .gitignore ├── litemall-admin-api ├── src │ └── main │ │ ├── resources │ │ ├── application-admin.yml │ │ └── application.yml │ │ └── java │ │ └── org │ │ └── linlinjava │ │ └── litemall │ │ └── admin │ │ └── annotation │ │ └── RequiresPermissionsDesc.java └── .gitignore ├── litemall-all ├── .gitignore └── src │ └── main │ └── resources │ └── application.yml ├── litemall-db ├── .gitignore ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── org │ │ │ └── linlinjava │ │ │ └── litemall │ │ │ └── db │ │ │ ├── dao │ │ │ ├── StatMapper.java │ │ │ └── GoodsProductMapper.java │ │ │ ├── util │ │ │ ├── CouponUserConstant.java │ │ │ ├── GrouponConstant.java │ │ │ └── AftersaleConstant.java │ │ │ └── domain │ │ │ └── UserVo.java │ └── test │ │ └── java │ │ └── org │ │ └── linlinjava │ │ └── litemall │ │ └── db │ │ ├── Application.java │ │ ├── DbTest.java │ │ └── DbUtilTest.java └── sql │ ├── litemall_schema.sql │ └── README.md ├── litemall-all-war ├── .gitignore └── src │ └── main │ └── resources │ └── application.yml ├── litemall-vue ├── src │ ├── assets │ │ ├── scss │ │ │ ├── _mixin.scss │ │ │ ├── iconfont │ │ │ │ └── iconfont.ttf │ │ │ ├── _var.scss │ │ │ └── mixin │ │ │ │ └── _one-border.scss │ │ └── images │ │ │ ├── wx_pay.png │ │ │ ├── ali_pay.png │ │ │ ├── is_empty.png │ │ │ ├── mx_be_to.png │ │ │ ├── mx_start.png │ │ │ ├── trumpet.png │ │ │ ├── not_enough.png │ │ │ ├── avatar_default.png │ │ │ ├── goods_default.png │ │ │ ├── store_default.png │ │ │ └── user_head_bg.png │ ├── store │ │ ├── mutation-types.js │ │ ├── getters.js │ │ ├── mutations.js │ │ └── index.js │ ├── utils │ │ ├── location-param.js │ │ ├── auth.js │ │ ├── validate.js │ │ └── local-storage.js │ ├── filter │ │ └── index.js │ ├── router │ │ └── home.js │ ├── components │ │ ├── field-group │ │ │ └── index.vue │ │ └── is-empty │ │ │ └── index.vue │ ├── mixin │ │ └── scroll-fixed.js │ ├── App.vue │ └── views │ │ └── user │ │ └── tabbar-user-module.vue ├── .prettierrc.js ├── .postcssrc.js ├── public │ └── favicon.ico ├── .env.deployment ├── .env.production ├── babel.config.js ├── .gitignore ├── .env.development └── .eslintrc.js ├── renard-wx ├── components │ ├── icon │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── notify │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── capsule │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── good │ │ ├── good.json │ │ ├── good.wxml │ │ └── good.js │ ├── sharePop │ │ ├── sharePop.json │ │ └── sharePop.wxml │ ├── goodList │ │ ├── goodList.json │ │ ├── goodList.js │ │ ├── goodList.wxml │ │ └── goodList.wxss │ └── notice-bar │ │ ├── index.json │ │ └── index.wxss ├── pages │ ├── topic │ │ └── topic.json │ ├── auth │ │ └── login │ │ │ ├── login.json │ │ │ └── login.wxml │ ├── brand │ │ ├── brand.json │ │ └── brand.wxml │ ├── catalog │ │ └── catalog.json │ ├── commentPost │ │ └── commentPost.json │ ├── hotGoods │ │ └── hotGoods.json │ ├── ucenter │ │ ├── coupon │ │ │ ├── coupon.json │ │ │ └── coupon.js │ │ ├── address │ │ │ └── address.json │ │ ├── addressAdd │ │ │ └── addressAdd.json │ │ ├── orderDetail │ │ │ └── orderDetail.json │ │ ├── index │ │ │ └── index.json │ │ └── order │ │ │ └── order.json │ ├── shopping │ │ └── checkout │ │ │ └── checkout.json │ ├── cart │ │ └── cart.json │ ├── topicDetail │ │ └── topicDetail.json │ ├── category │ │ └── category.json │ ├── payResult │ │ └── payResult.json │ ├── search │ │ └── search.json │ ├── newGoods │ │ └── newGoods.json │ ├── brandDetail │ │ ├── brandDetail.json │ │ └── brandDetail.wxml │ ├── groupon │ │ ├── myGroupon │ │ │ └── myGroupon.json │ │ ├── grouponList │ │ │ └── grouponList.json │ │ └── grouponDetail │ │ │ └── grouponDetail.json │ ├── goods │ │ └── goods.json │ └── index │ │ └── index.json ├── images │ ├── Hot-cart.png │ ├── Hot-love.png │ ├── confirm.png │ ├── Cool-love.png │ ├── Edit-icon.png │ ├── Hot-love-o.png │ ├── Plaus-icon.png │ ├── about-icon.png │ ├── goods-chat.png │ ├── my-icon-1.png │ ├── my-icon-2.png │ ├── my-icon-3.png │ ├── my-icon-4.png │ ├── right-icon.png │ ├── Cool-love-o.png │ ├── goods-share.png │ ├── tabbar │ │ ├── cart-f.png │ │ ├── cart-o.png │ │ ├── like-f.png │ │ ├── like-o.png │ │ ├── menu-f.png │ │ ├── menu-o.png │ │ ├── user-f.png │ │ └── user-o.png │ ├── Coupons-icon-f.png │ └── Coupons-icon-o.png ├── static │ └── images │ │ ├── go.png │ │ ├── selnum.png │ │ ├── wxpay.png │ │ ├── checkbox.png │ │ ├── clear_input.png │ │ ├── del-address.png │ │ ├── detail_back.png │ │ ├── detail_kefu.png │ │ ├── icon_close.png │ │ ├── icon_error.png │ │ ├── address-bg-bd.png │ │ ├── address_right.png │ │ ├── edit-address.png │ │ ├── icon_collect.png │ │ ├── icon_go_more.png │ │ ├── ic_menu_me_nor.png │ │ ├── ic_menu_sort_nor.png │ │ ├── ic_menu_choice_nor.png │ │ ├── ic_menu_me_pressed.png │ │ ├── ic_menu_topic_nor.png │ │ ├── ic_menu_shoping_nor.png │ │ ├── ic_menu_sort_pressed.png │ │ ├── ic_menu_topic_pressed.png │ │ ├── icon_collect_checked.png │ │ ├── ic_menu_choice_pressed.png │ │ └── ic_menu_shoping_pressed.png ├── sitemap.json ├── utils │ └── check.js └── app.wxss ├── litemall-admin ├── .eslintignore ├── babel.config.js ├── postcss.config.js ├── public │ ├── favicon.ico │ ├── tinymce4.7.5 │ │ ├── skins │ │ │ └── lightgray │ │ │ │ ├── img │ │ │ │ ├── trans.gif │ │ │ │ ├── anchor.gif │ │ │ │ ├── loader.gif │ │ │ │ └── object.gif │ │ │ │ └── fonts │ │ │ │ ├── tinymce.eot │ │ │ │ ├── tinymce.ttf │ │ │ │ ├── tinymce.woff │ │ │ │ ├── tinymce-small.eot │ │ │ │ ├── tinymce-small.ttf │ │ │ │ ├── tinymce-mobile.woff │ │ │ │ └── tinymce-small.woff │ │ └── plugins │ │ │ └── emoticons │ │ │ └── img │ │ │ ├── smiley-cry.gif │ │ │ ├── smiley-cool.gif │ │ │ ├── smiley-frown.gif │ │ │ ├── smiley-kiss.gif │ │ │ ├── smiley-sealed.gif │ │ │ ├── smiley-smile.gif │ │ │ ├── smiley-wink.gif │ │ │ ├── smiley-yell.gif │ │ │ ├── smiley-innocent.gif │ │ │ ├── smiley-laughing.gif │ │ │ ├── smiley-embarassed.gif │ │ │ ├── smiley-money-mouth.gif │ │ │ ├── smiley-surprised.gif │ │ │ ├── smiley-tongue-out.gif │ │ │ ├── smiley-undecided.gif │ │ │ └── smiley-foot-in-mouth.gif │ └── index.html ├── src │ ├── assets │ │ ├── 401_images │ │ │ └── 401.gif │ │ └── 404_images │ │ │ ├── 404.png │ │ │ └── 404_cloud.png │ ├── App.vue │ ├── icons │ │ ├── svg │ │ │ ├── chart.svg │ │ │ ├── size.svg │ │ │ ├── link.svg │ │ │ ├── guide.svg │ │ │ ├── component.svg │ │ │ ├── money.svg │ │ │ ├── drag.svg │ │ │ ├── email.svg │ │ │ ├── guide 2.svg │ │ │ ├── documentation.svg │ │ │ ├── user.svg │ │ │ ├── lock.svg │ │ │ ├── excel.svg │ │ │ ├── example.svg │ │ │ ├── star.svg │ │ │ ├── table.svg │ │ │ ├── password.svg │ │ │ ├── tab.svg │ │ │ ├── message.svg │ │ │ └── theme.svg │ │ ├── index.js │ │ └── svgo.yml │ ├── api │ │ ├── log.js │ │ ├── dashboard.js │ │ ├── region.js │ │ ├── comment.js │ │ └── stat.js │ ├── views │ │ ├── layout │ │ │ └── components │ │ │ │ └── index.js │ │ ├── login │ │ │ └── authredirect.vue │ │ └── redirect │ │ │ └── index.vue │ ├── directive │ │ ├── clipboard │ │ │ └── index.js │ │ └── permission │ │ │ └── index.js │ ├── utils │ │ └── auth.js │ └── store │ │ ├── index.js │ │ └── getters.js ├── .env.production ├── .env.deployment ├── jsconfig.json ├── .editorconfig ├── .gitignore └── .env.development ├── litemall-core ├── .gitignore └── src │ ├── main │ ├── resources │ │ ├── back.png │ │ ├── back_groupon.png │ │ └── application.yml │ └── java │ │ └── org │ │ └── linlinjava │ │ └── litemall │ │ └── core │ │ ├── config │ │ └── AsyncConfig.java │ │ ├── notify │ │ ├── NotifyType.java │ │ ├── SmsSender.java │ │ └── SmsResult.java │ │ └── util │ │ └── DateTimeUtil.java │ └── test │ ├── resources │ └── litemall.png │ └── java │ └── org │ └── linlinjava │ └── litemall │ └── core │ ├── IntegerTest.java │ └── Application.java ├── doc ├── unused │ ├── 3.png │ ├── 5.gif │ ├── qq.png │ ├── qq2.png │ ├── litemall.ico │ └── litemall.png ├── pics │ ├── admin │ │ ├── get.png │ │ ├── login.png │ │ ├── get_no_token.png │ │ ├── get_with_token.png │ │ ├── post_no_token.png │ │ └── post_with_token.png │ ├── readme │ │ ├── qq3.png │ │ ├── qq4.png │ │ ├── mobmall.png │ │ ├── renard_wx_demo.png │ │ ├── admin-dashboard.png │ │ ├── litemall_wx_demo.png │ │ ├── technology-stack.png │ │ └── project-structure.png │ ├── database │ │ ├── user.png │ │ ├── admin.png │ │ ├── goods.png │ │ ├── order.png │ │ ├── others.png │ │ └── order-status.png │ ├── faq │ │ └── excluded.png │ ├── project │ │ ├── stage.png │ │ ├── deploy-single.png │ │ ├── develop-stage.png │ │ ├── idea-run-all.png │ │ ├── maven-profile.png │ │ ├── online-deploy.png │ │ ├── yml-resource.png │ │ ├── security-group.png │ │ ├── spring-profile.png │ │ ├── idea-maven-insatll.png │ │ └── project-structure.png │ └── platform │ │ ├── db-main.png │ │ └── mybatis-generator.png ├── note.md ├── README.md ├── performance.md └── mobmall.md └── SECURITY.md /deploy/db/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/db/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/db/init-sql/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/litemall/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/pages/about/about.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /litemall-wx/pages/category/category.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/var.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/definitions/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/definitions/weapp.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitbook.yaml: -------------------------------------------------------------------------------- 1 | structure: 2 | summary: doc/README.md -------------------------------------------------------------------------------- /litemall-wx-api/src/main/resources/application-wx.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/theme.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/area/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/card/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/col/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/field/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/image/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/info/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/panel/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/popup/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/rate/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/row/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/steps/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tab/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabs/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tag/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/toast/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-admin-api/src/main/resources/application-admin.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-all/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-all.iml 4 | -------------------------------------------------------------------------------- /litemall-db/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-db.iml 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/circle/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/count-down/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dialog/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/divider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/loading/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/nav-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notice-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notify/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/overlay/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/progress/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/search/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/skeleton/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/slider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/stepper/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sticky/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/submit-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/swipe-cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/switch/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/transition/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/uploader/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/action-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/datetime-picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-menu/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-anchor/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker-column/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tree-select/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /deploy/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /db/litemall.sql 3 | /litemall/litemall.jar 4 | -------------------------------------------------------------------------------- /litemall-all-war/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-all-war.iml 4 | -------------------------------------------------------------------------------- /litemall-vue/src/assets/scss/_mixin.scss: -------------------------------------------------------------------------------- 1 | @import "./mixin/one-border"; -------------------------------------------------------------------------------- /litemall-wx-api/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-wx-api.iml 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /renard-wx/components/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /renard-wx/components/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-admin-api/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-admin-api.iml 4 | -------------------------------------------------------------------------------- /litemall-admin/.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | src/assets 3 | public 4 | dist 5 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/help/help.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "帮助中心" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/topic/topic.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "专题" 3 | } -------------------------------------------------------------------------------- /renard-wx/components/capsule/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /renard-wx/pages/topic/topic.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "专题" 3 | } -------------------------------------------------------------------------------- /docker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /litemall/litemall.jar 3 | /db/init-sql/litemall.sql 4 | -------------------------------------------------------------------------------- /litemall-core/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /litemall-core.iml 4 | /storage/ 5 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/link.d.ts: -------------------------------------------------------------------------------- 1 | export declare const link: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/auth/login/login.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "登录" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/brand/brand.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "品牌商直供" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/catalog/catalog.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "分类" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/coupon/coupon.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "优惠券专区" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/goods/goods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "商品详情" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "搜索" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/auth/login/login.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "登录" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/brand/brand.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "品牌商直供" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/catalog/catalog.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "分类" 3 | } -------------------------------------------------------------------------------- /doc/unused/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/3.png -------------------------------------------------------------------------------- /doc/unused/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/5.gif -------------------------------------------------------------------------------- /litemall-vue/src/store/mutation-types.js: -------------------------------------------------------------------------------- 1 | export const CHANGE_HEADER= 'CHANGE_HEADER' 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/basic.d.ts: -------------------------------------------------------------------------------- 1 | export declare const basic: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/button.d.ts: -------------------------------------------------------------------------------- 1 | export declare const button: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/touch.d.ts: -------------------------------------------------------------------------------- 1 | export declare const touch: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /litemall-wx/pages/auth/reset/reset.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "密码重置" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/checkout/checkout.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "填写订单" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/hotGoods/hotGoods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "人气推荐" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/newGoods/newGoods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "新品首发" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/order/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的订单" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/commentPost/commentPost.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "评价" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/hotGoods/hotGoods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "人气推荐" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/coupon/coupon.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "优惠券" 3 | } -------------------------------------------------------------------------------- /doc/unused/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/qq.png -------------------------------------------------------------------------------- /doc/unused/qq2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/qq2.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/open-type.d.ts: -------------------------------------------------------------------------------- 1 | export declare const openType: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/pages/auth/register/register.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "注册" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/brandDetail/brandDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "品牌商详情" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/commentPost/commentPost.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "评价" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/topicDetail/topicDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "专题详情" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/address/address.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "地址管理" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/collect/collect.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的收藏" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/shopping/checkout/checkout.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "填写订单" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/address/address.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "地址管理" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/groupon/myGroupon/myGroupon.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的团购" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/addressAdd/addressAdd.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "编辑地址" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/aftersale/aftersale.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "售后" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/feedback/feedback.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "意见反馈" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/footprint/footprint.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的足迹" 3 | } -------------------------------------------------------------------------------- /renard-wx/components/good/good.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/addressAdd/addressAdd.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "编辑地址" 3 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/orderDetail/orderDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "订单详情" 3 | } -------------------------------------------------------------------------------- /doc/pics/admin/get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/get.png -------------------------------------------------------------------------------- /doc/pics/admin/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/login.png -------------------------------------------------------------------------------- /doc/pics/readme/qq3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/qq3.png -------------------------------------------------------------------------------- /doc/pics/readme/qq4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/qq4.png -------------------------------------------------------------------------------- /doc/unused/litemall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/litemall.ico -------------------------------------------------------------------------------- /doc/unused/litemall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/unused/litemall.png -------------------------------------------------------------------------------- /litemall-admin/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/app' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /litemall-vue/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 2, 3 | singleQuote: true 4 | }; 5 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/observer/behavior.d.ts: -------------------------------------------------------------------------------- 1 | export declare const behavior: string; 2 | -------------------------------------------------------------------------------- /litemall-wx/pages/auth/accountLogin/accountLogin.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "账号登录" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/groupon/grouponList/grouponList.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "团购专区" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/topicCommentPost/topicCommentPost.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "评论" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/couponSelect/couponSelect.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "选择优惠券" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/orderDetail/orderDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "订单详情" 3 | } -------------------------------------------------------------------------------- /renard-wx/components/sharePop/sharePop.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /doc/pics/database/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/user.png -------------------------------------------------------------------------------- /doc/pics/faq/excluded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/faq/excluded.png -------------------------------------------------------------------------------- /doc/pics/project/stage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/stage.png -------------------------------------------------------------------------------- /litemall-vue/.postcssrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {} 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /litemall-wx/pages/groupon/grouponDetail/grouponDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "团购详情" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/aftersaleDetail/aftersaleDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "售后详情" 3 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/aftersaleList/aftersaleList.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的售后" 3 | } -------------------------------------------------------------------------------- /doc/pics/database/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/admin.png -------------------------------------------------------------------------------- /doc/pics/database/goods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/goods.png -------------------------------------------------------------------------------- /doc/pics/database/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/order.png -------------------------------------------------------------------------------- /doc/pics/database/others.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/others.png -------------------------------------------------------------------------------- /doc/pics/platform/db-main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/platform/db-main.png -------------------------------------------------------------------------------- /doc/pics/readme/mobmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/mobmall.png -------------------------------------------------------------------------------- /litemall-admin/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /renard-wx/images/Hot-cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Hot-cart.png -------------------------------------------------------------------------------- /renard-wx/images/Hot-love.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Hot-love.png -------------------------------------------------------------------------------- /renard-wx/images/confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/confirm.png -------------------------------------------------------------------------------- /renard-wx/pages/cart/cart.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#f4f4f4", 3 | "navigationBarTitleText": "购物车" 4 | } -------------------------------------------------------------------------------- /doc/pics/admin/get_no_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/get_no_token.png -------------------------------------------------------------------------------- /litemall-vue/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/public/favicon.ico -------------------------------------------------------------------------------- /litemall-wx/pages/cart/cart.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": true, 3 | "navigationBarTitleText": "购物车" 4 | } -------------------------------------------------------------------------------- /litemall-wx/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "首页", 3 | "enablePullDownRefresh": true 4 | } -------------------------------------------------------------------------------- /renard-wx/images/Cool-love.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Cool-love.png -------------------------------------------------------------------------------- /renard-wx/images/Edit-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Edit-icon.png -------------------------------------------------------------------------------- /renard-wx/images/Hot-love-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Hot-love-o.png -------------------------------------------------------------------------------- /renard-wx/images/Plaus-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Plaus-icon.png -------------------------------------------------------------------------------- /renard-wx/images/about-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/about-icon.png -------------------------------------------------------------------------------- /renard-wx/images/goods-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/goods-chat.png -------------------------------------------------------------------------------- /renard-wx/images/my-icon-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/my-icon-1.png -------------------------------------------------------------------------------- /renard-wx/images/my-icon-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/my-icon-2.png -------------------------------------------------------------------------------- /renard-wx/images/my-icon-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/my-icon-3.png -------------------------------------------------------------------------------- /renard-wx/images/my-icon-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/my-icon-4.png -------------------------------------------------------------------------------- /renard-wx/images/right-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/right-icon.png -------------------------------------------------------------------------------- /renard-wx/static/images/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/go.png -------------------------------------------------------------------------------- /doc/pics/admin/get_with_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/get_with_token.png -------------------------------------------------------------------------------- /doc/pics/admin/post_no_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/post_no_token.png -------------------------------------------------------------------------------- /doc/pics/admin/post_with_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/admin/post_with_token.png -------------------------------------------------------------------------------- /doc/pics/database/order-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/database/order-status.png -------------------------------------------------------------------------------- /doc/pics/project/deploy-single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/deploy-single.png -------------------------------------------------------------------------------- /doc/pics/project/develop-stage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/develop-stage.png -------------------------------------------------------------------------------- /doc/pics/project/idea-run-all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/idea-run-all.png -------------------------------------------------------------------------------- /doc/pics/project/maven-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/maven-profile.png -------------------------------------------------------------------------------- /doc/pics/project/online-deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/online-deploy.png -------------------------------------------------------------------------------- /doc/pics/project/yml-resource.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/yml-resource.png -------------------------------------------------------------------------------- /doc/pics/readme/renard_wx_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/renard_wx_demo.png -------------------------------------------------------------------------------- /litemall-admin/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/favicon.ico -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/transition.d.ts: -------------------------------------------------------------------------------- 1 | export declare const transition: (showDefaultValue: boolean) => any; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /litemall-wx/pages/comment/comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": true, 3 | "navigationBarTitleText": "评价" 4 | } -------------------------------------------------------------------------------- /litemall-wx/static/images/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/cart.png -------------------------------------------------------------------------------- /litemall-wx/static/images/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/help.png -------------------------------------------------------------------------------- /litemall-wx/static/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/home.png -------------------------------------------------------------------------------- /litemall-wx/static/images/hot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/hot.png -------------------------------------------------------------------------------- /litemall-wx/static/images/my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/my.png -------------------------------------------------------------------------------- /litemall-wx/static/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/new.png -------------------------------------------------------------------------------- /litemall-wx/static/images/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/send.png -------------------------------------------------------------------------------- /renard-wx/images/Cool-love-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Cool-love-o.png -------------------------------------------------------------------------------- /renard-wx/images/goods-share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/goods-share.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/cart-f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/cart-f.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/cart-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/cart-o.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/like-f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/like-f.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/like-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/like-o.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/menu-f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/menu-f.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/menu-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/menu-o.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/user-f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/user-f.png -------------------------------------------------------------------------------- /renard-wx/images/tabbar/user-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/tabbar/user-o.png -------------------------------------------------------------------------------- /renard-wx/static/images/selnum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/selnum.png -------------------------------------------------------------------------------- /renard-wx/static/images/wxpay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/wxpay.png -------------------------------------------------------------------------------- /doc/pics/project/security-group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/security-group.png -------------------------------------------------------------------------------- /doc/pics/project/spring-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/spring-profile.png -------------------------------------------------------------------------------- /doc/pics/readme/admin-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/admin-dashboard.png -------------------------------------------------------------------------------- /doc/pics/readme/litemall_wx_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/litemall_wx_demo.png -------------------------------------------------------------------------------- /doc/pics/readme/technology-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/technology-stack.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/observer/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function observe(vantOptions: any, options: any): void; 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /litemall-wx/static/images/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/about.png -------------------------------------------------------------------------------- /litemall-wx/static/images/coupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/coupon.png -------------------------------------------------------------------------------- /litemall-wx/static/images/friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/friend.png -------------------------------------------------------------------------------- /litemall-wx/static/images/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/group.png -------------------------------------------------------------------------------- /litemall-wx/static/images/mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/mobile.png -------------------------------------------------------------------------------- /litemall-wx/static/images/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/wechat.png -------------------------------------------------------------------------------- /renard-wx/images/Coupons-icon-f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Coupons-icon-f.png -------------------------------------------------------------------------------- /renard-wx/images/Coupons-icon-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/images/Coupons-icon-o.png -------------------------------------------------------------------------------- /renard-wx/pages/topicDetail/topicDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "专题详情", 3 | "enablePullDownRefresh": false 4 | } -------------------------------------------------------------------------------- /renard-wx/static/images/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/checkbox.png -------------------------------------------------------------------------------- /doc/pics/platform/mybatis-generator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/platform/mybatis-generator.png -------------------------------------------------------------------------------- /doc/pics/project/idea-maven-insatll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/idea-maven-insatll.png -------------------------------------------------------------------------------- /doc/pics/project/project-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/project/project-structure.png -------------------------------------------------------------------------------- /doc/pics/readme/project-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/doc/pics/readme/project-structure.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:85px;width:var(--sidebar-width,85px)} -------------------------------------------------------------------------------- /litemall-wx/pages/topicComment/topicComment.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": true, 3 | "navigationBarTitleText": "评论" 4 | } -------------------------------------------------------------------------------- /litemall-wx/static/images/address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/address.png -------------------------------------------------------------------------------- /litemall-wx/static/images/aftersale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/aftersale.png -------------------------------------------------------------------------------- /litemall-wx/static/images/category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/category.png -------------------------------------------------------------------------------- /litemall-wx/static/images/collect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/collect.png -------------------------------------------------------------------------------- /litemall-wx/static/images/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/comment.png -------------------------------------------------------------------------------- /litemall-wx/static/images/customer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/customer.png -------------------------------------------------------------------------------- /litemall-wx/static/images/feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/feedback.png -------------------------------------------------------------------------------- /litemall-wx/static/images/footprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/footprint.png -------------------------------------------------------------------------------- /litemall-wx/static/images/pendpay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/pendpay.png -------------------------------------------------------------------------------- /litemall-wx/static/images/receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/receive.png -------------------------------------------------------------------------------- /renard-wx/pages/category/category.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "goodList": "/components/goodList/goodList" 4 | } 5 | } -------------------------------------------------------------------------------- /renard-wx/static/images/clear_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/clear_input.png -------------------------------------------------------------------------------- /renard-wx/static/images/del-address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/del-address.png -------------------------------------------------------------------------------- /renard-wx/static/images/detail_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/detail_back.png -------------------------------------------------------------------------------- /renard-wx/static/images/detail_kefu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/detail_kefu.png -------------------------------------------------------------------------------- /renard-wx/static/images/icon_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/icon_close.png -------------------------------------------------------------------------------- /renard-wx/static/images/icon_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/icon_error.png -------------------------------------------------------------------------------- /litemall-core/src/main/resources/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-core/src/main/resources/back.png -------------------------------------------------------------------------------- /litemall-vue/.env.deployment: -------------------------------------------------------------------------------- 1 | # just a flag 2 | ENV = 'production' 3 | 4 | # base api 5 | VUE_APP_BASE_API = 'http://122.51.199.160:8080/' -------------------------------------------------------------------------------- /litemall-vue/.env.production: -------------------------------------------------------------------------------- 1 | # just a flag 2 | ENV = 'production' 3 | 4 | # base api 5 | VUE_APP_BASE_API = 'https://www.example.com/' -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/wx_pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/wx_pay.png -------------------------------------------------------------------------------- /litemall-wx/pages/payResult/payResult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "付款结果", 3 | "navigationBarBackgroundColor": "#fafafa" 4 | } -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/couponList/couponList.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": true, 3 | "navigationBarTitleText": "我的优惠券" 4 | } -------------------------------------------------------------------------------- /litemall-wx/static/images/icon_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/icon_error.png -------------------------------------------------------------------------------- /litemall-wx/static/images/my@selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/my@selected.png -------------------------------------------------------------------------------- /renard-wx/components/goodList/goodList.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "good": "../good/good" 5 | } 6 | } -------------------------------------------------------------------------------- /renard-wx/pages/payResult/payResult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "付款结果", 3 | "navigationBarBackgroundColor": "#fafafa" 4 | } -------------------------------------------------------------------------------- /renard-wx/static/images/address-bg-bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/address-bg-bd.png -------------------------------------------------------------------------------- /renard-wx/static/images/address_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/address_right.png -------------------------------------------------------------------------------- /renard-wx/static/images/edit-address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/edit-address.png -------------------------------------------------------------------------------- /renard-wx/static/images/icon_collect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/icon_collect.png -------------------------------------------------------------------------------- /renard-wx/static/images/icon_go_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/icon_go_more.png -------------------------------------------------------------------------------- /doc/note.md: -------------------------------------------------------------------------------- 1 | # 项目笔记 2 | 3 | 记录本项目开发中一些关键技术点。 4 | 5 | 注意: 6 | > 这些技术并不是绝对正确或者唯一,而是目前项目所采用。 7 | 8 | ## 1. 前后端交互技术 9 | 10 | ## 2. 错误码 -------------------------------------------------------------------------------- /litemall-admin/src/assets/401_images/401.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/src/assets/401_images/401.gif -------------------------------------------------------------------------------- /litemall-admin/src/assets/404_images/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/src/assets/404_images/404.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/ali_pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/ali_pay.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/is_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/is_empty.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/mx_be_to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/mx_be_to.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/mx_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/mx_start.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/trumpet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/trumpet.png -------------------------------------------------------------------------------- /litemall-vue/src/store/getters.js: -------------------------------------------------------------------------------- 1 | export const showHeader = state => state.showHeader 2 | 3 | export const titleHeader = state => state.title -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /litemall-wx/static/images/cart@selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/cart@selected.png -------------------------------------------------------------------------------- /litemall-wx/static/images/home@selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/home@selected.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_me_nor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_me_nor.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_sort_nor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_sort_nor.png -------------------------------------------------------------------------------- /litemall-core/src/test/resources/litemall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-core/src/test/resources/litemall.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/not_enough.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/not_enough.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /renard-wx/components/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_choice_nor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_choice_nor.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_me_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_me_pressed.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_topic_nor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_topic_nor.png -------------------------------------------------------------------------------- /litemall-core/src/main/resources/back_groupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-core/src/main/resources/back_groupon.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/avatar_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/avatar_default.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/goods_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/goods_default.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/store_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/store_default.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/images/user_head_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/images/user_head_bg.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/static/images/category@selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-wx/static/images/category@selected.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_shoping_nor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_shoping_nor.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_sort_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_sort_pressed.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_topic_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_topic_pressed.png -------------------------------------------------------------------------------- /renard-wx/static/images/icon_collect_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/icon_collect_checked.png -------------------------------------------------------------------------------- /litemall-admin/src/assets/404_images/404_cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/src/assets/404_images/404_cloud.png -------------------------------------------------------------------------------- /litemall-vue/src/assets/scss/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-vue/src/assets/scss/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_choice_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_choice_pressed.png -------------------------------------------------------------------------------- /renard-wx/static/images/ic_menu_shoping_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/renard-wx/static/images/ic_menu_shoping_pressed.png -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{position:fixed;right:0;left:0} -------------------------------------------------------------------------------- /litemall-wx/pages/ucenter/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#f4f4f4", 3 | "navigationBarTitleText": "个人中心", 4 | "enablePullDownRefresh": false 5 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#f4f4f4", 3 | "navigationBarTitleText": "个人中心", 4 | "enablePullDownRefresh": false 5 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /renard-wx/pages/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "搜索", 3 | "usingComponents": { 4 | "goodList": "/components/goodList/goodList" 5 | } 6 | } -------------------------------------------------------------------------------- /deploy/bin/stop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PID=$(ps -ef | grep litemall.jar | grep -v grep | awk '{ print $2 }') 4 | 5 | if [ ! -z "$PID" ] 6 | then 7 | kill $PID 8 | fi -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /renard-wx/pages/newGoods/newGoods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "新品首发", 3 | "usingComponents": { 4 | "goodList": "/components/goodList/goodList" 5 | } 6 | } -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/order/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的订单", 3 | "usingComponents": { 4 | "zan-capsule": "/components/capsule/index" 5 | } 6 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/progress/index.wxs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | text: function(pivotText, percentage) { 3 | return pivotText || percentage + '%'; 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /litemall-admin/.env.production: -------------------------------------------------------------------------------- 1 | NODE_ENV = production 2 | 3 | # just a flag 4 | ENV = 'production' 5 | 6 | # base api 7 | VUE_APP_BASE_API = 'https://www.example.com/admin' 8 | 9 | -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /renard-wx/pages/brandDetail/brandDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "品牌商详情", 3 | "usingComponents": { 4 | "goodList": "/components/goodList/goodList" 5 | } 6 | } -------------------------------------------------------------------------------- /renard-wx/pages/groupon/myGroupon/myGroupon.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的团购", 3 | "usingComponents": { 4 | "zan-capsule": "/components/capsule/index" 5 | } 6 | } -------------------------------------------------------------------------------- /docker/bin/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd /home/ubuntu/docker 4 | sudo docker-compose down 5 | sudo docker-compose build 6 | sudo docker image prune -f 7 | sudo docker-compose up -d 8 | -------------------------------------------------------------------------------- /litemall-admin/.env.deployment: -------------------------------------------------------------------------------- 1 | NODE_ENV = production 2 | 3 | # just a flag 4 | ENV = 'deploymenet' 5 | 6 | # base api 7 | VUE_APP_BASE_API = 'http://122.51.199.160:8080/admin' 8 | 9 | -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /renard-wx/pages/groupon/grouponList/grouponList.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "团购专区", 3 | "usingComponents": { 4 | "zan-capsule": "/components/capsule/index" 5 | } 6 | } -------------------------------------------------------------------------------- /docker/db/conf.d/my.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | wait_timeout=1814400 3 | max_allowed_packet = 100M 4 | default-time_zone = '+8:00' 5 | character-set-server=utf8mb4 6 | collation-server=utf8mb4_unicode_ci -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /renard-wx/pages/groupon/grouponDetail/grouponDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "团购详情", 3 | "usingComponents": { 4 | "sharePop": "/components/sharePop/sharePop" 5 | } 6 | } -------------------------------------------------------------------------------- /litemall-admin/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "./", 4 | "paths": { 5 | "@/*": ["src/*"] 6 | } 7 | }, 8 | "exclude": ["node_modules", "dist"] 9 | } -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /renard-wx/components/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ text }} 6 | 7 | -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /litemall-admin/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /docker/litemall/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM openjdk:8-jre 2 | COPY application.yml application.yml 3 | COPY litemall.jar litemall.jar 4 | ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","litemall.jar"] -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /renard-wx/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linlinjava/litemall/HEAD/litemall-admin/public/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/chart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/wxs/utils.wxs: -------------------------------------------------------------------------------- 1 | var bem = require('./bem.wxs').bem; 2 | var memoize = require('./memoize.wxs').memoize; 3 | 4 | module.exports = { 5 | bem: memoize(bem), 6 | memoize: memoize 7 | }; 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /litemall-admin/src/api/log.js: -------------------------------------------------------------------------------- 1 | import request from '@/utils/request' 2 | 3 | export function listLog(query) { 4 | return request({ 5 | url: '/log/list', 6 | method: 'get', 7 | params: query 8 | }) 9 | } 10 | -------------------------------------------------------------------------------- /litemall-admin/src/api/dashboard.js: -------------------------------------------------------------------------------- 1 | import request from '@/utils/request' 2 | 3 | export function info(query) { 4 | return request({ 5 | url: '/dashboard', 6 | method: 'get', 7 | params: query 8 | }) 9 | } 10 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-cell": "../cell/index", 6 | "van-icon": "../icon/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/info/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dot: Boolean, 5 | info: null, 6 | customStyle: String 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);background-color:var(--overlay-background-color,rgba(0,0,0,.7))} -------------------------------------------------------------------------------- /litemall-vue/src/store/mutations.js: -------------------------------------------------------------------------------- 1 | import * as types from './mutation-types' 2 | 3 | export default { 4 | [types.CHANGE_HEADER] (state,payload) { 5 | state.showHeader=payload.showHeader; 6 | state.title=payload.title; 7 | } 8 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-popup": "../popup/index", 6 | "van-loading": "../loading/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/size.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tree-select/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-sidebar": "../sidebar/index", 6 | "van-sidebar-item": "../sidebar-item/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /litemall-vue/src/utils/location-param.js: -------------------------------------------------------------------------------- 1 | export default name => { 2 | const reg = new RegExp(`(^|&)${name}=([^&]*)(&|$)`); 3 | const r = window.location.search.substr(1).match(reg); 4 | if (r != null) return decodeURIComponent(r[2]); 5 | return ''; 6 | }; 7 | -------------------------------------------------------------------------------- /litemall-wx/utils/check.js: -------------------------------------------------------------------------------- 1 | function isValidPhone(str) { 2 | var myreg = /^[1][3,4,5,7,8][0-9]{9}$/; 3 | if (!myreg.test(str)) { 4 | return false; 5 | } else { 6 | return true; 7 | } 8 | } 9 | 10 | module.exports = { 11 | isValidPhone 12 | } -------------------------------------------------------------------------------- /renard-wx/utils/check.js: -------------------------------------------------------------------------------- 1 | function isValidPhone(str) { 2 | var myreg = /^[1][3,4,5,7,8][0-9]{9}$/; 3 | if (!myreg.test(str)) { 4 | return false; 5 | } else { 6 | return true; 7 | } 8 | } 9 | 10 | module.exports = { 11 | isValidPhone 12 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /renard-wx/pages/goods/goods.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "商品详情", 3 | "usingComponents": { 4 | "sharePop": "/components/sharePop/sharePop", 5 | "goodList": "/components/goodList/goodList", 6 | "van-notify": "/components/notify/index" 7 | } 8 | } -------------------------------------------------------------------------------- /litemall-admin/src/views/layout/components/index.js: -------------------------------------------------------------------------------- 1 | export { default as AppMain } from './AppMain' 2 | export { default as Navbar } from './Navbar' 3 | export { default as Sidebar } from './Sidebar/index.vue' 4 | export { default as TagsView } from './TagsView/index.vue' 5 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:#323233;color:var(--count-down-text-color,#323233);font-size:14px;font-size:var(--count-down-font-size,14px);line-height:20px;line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /renard-wx/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "首页", 3 | "usingComponents": { 4 | "zan-capsule": "/components/capsule/index", 5 | "goodList": "/components/goodList/goodList", 6 | "van-notice-bar": "/components/notice-bar/index" 7 | } 8 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ title }} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane,:host{box-sizing:border-box}.van-tab__pane{overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell-group/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | title: String, 5 | border: { 6 | type: Boolean, 7 | value: true 8 | } 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/color.js: -------------------------------------------------------------------------------- 1 | export const RED = '#ee0a24'; 2 | export const BLUE = '#1989fa'; 3 | export const WHITE = '#fff'; 4 | export const GREEN = '#07c160'; 5 | export const ORANGE = '#ff976a'; 6 | export const GRAY = '#323233'; 7 | export const GRAY_DARK = '#969799'; 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/toast/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index", 6 | "van-overlay": "../overlay/index", 7 | "van-transition": "../transition/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /litemall-db/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: db 4 | messages: 5 | encoding: UTF-8 6 | 7 | logging: 8 | level: 9 | root: ERROR 10 | org.springframework: ERROR 11 | org.mybatis: ERROR 12 | org.linlinjava.litemall.db: DEBUG -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /litemall-core/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: core, db 4 | messages: 5 | encoding: UTF-8 6 | 7 | logging: 8 | level: 9 | root: ERROR 10 | org.springframework: ERROR 11 | org.mybatis: ERROR 12 | org.linlinjava.litemall.core: DEBUG -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--panel-background-color,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:8px 16px;padding:var(--panel-footer-padding,8px 16px)} -------------------------------------------------------------------------------- /renard-wx/components/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 6 | {{ info }} 7 | 8 | -------------------------------------------------------------------------------- /deploy/bin/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 本脚本的作用是停止当前Spring Boot应用,然后再次部署 4 | PID=$(ps -ef | grep litemall.jar | grep -v grep | awk '{ print $2 }') 5 | 6 | if [ ! -z "$PID" ] 7 | then 8 | kill $PID 9 | fi 10 | 11 | cd /home/ubuntu/deploy/litemall || exit 2 12 | nohup java -jar litemall.jar > log.log 2>&1 & -------------------------------------------------------------------------------- /litemall-admin/src/views/login/authredirect.vue: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /litemall-all-war/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: db, core, admin, wx 4 | messages: 5 | encoding: UTF-8 6 | servlet: 7 | multipart: 8 | max-file-size: 20MB 9 | max-request-size: 20MB 10 | 11 | logging: 12 | config: classpath:logback-spring.xml -------------------------------------------------------------------------------- /litemall-vue/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/app'], 3 | plugins: [ 4 | 'lodash', 5 | [ 6 | 'import', 7 | { 8 | libraryName: 'vant', 9 | libraryDirectory: 'es', 10 | style: true 11 | }, 12 | 'vant' 13 | ] 14 | ] 15 | }; 16 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{position:relative;display:inline-block;text-align:center}.van-circle__text{position:absolute;top:50%;left:0;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#323233;color:var(--circle-text-color,#323233)} -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/dao/StatMapper.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.dao; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface StatMapper { 7 | List statUser(); 8 | 9 | List statOrder(); 10 | 11 | List statGoods(); 12 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker-column/index.wxs: -------------------------------------------------------------------------------- 1 | function isObj(x) { 2 | var type = typeof x; 3 | return x !== null && (type === 'object' || type === 'function'); 4 | } 5 | 6 | module.exports = function (option, valueKey) { 7 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option; 8 | } 9 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/link.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/panel/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | classes: ['header-class', 'footer-class'], 4 | props: { 5 | desc: String, 6 | title: String, 7 | status: String, 8 | useFooterSlot: Boolean 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /renard-wx/components/icon/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['custom-class'], 3 | 4 | properties: { 5 | info: null, 6 | name: String, 7 | size: String, 8 | color: String 9 | }, 10 | 11 | methods: { 12 | onClick() { 13 | this.triggerEvent('click'); 14 | } 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /litemall-admin/.editorconfig: -------------------------------------------------------------------------------- 1 | # https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | [*.md] 13 | insert_final_newline = false 14 | trim_trailing_whitespace = false 15 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/component.d.ts: -------------------------------------------------------------------------------- 1 | import { VantComponentOptions, CombinedComponentInstance } from '../definitions/index'; 2 | declare function VantComponent(vantOptions?: VantComponentOptions>): void; 3 | export { VantComponent }; 4 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{ text }} 7 | -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- 1 | # Table of Contents 2 | 3 | * [介绍](../README.md) 4 | * [更新日志](../CHANGELOG.md) 5 | * [贡献指南](../CONTRIBUTE.md) 6 | * [FAQ](./FAQ.md) 7 | * [API](./api.md) 8 | * [数据库](./database.md) 9 | * [1. 系统架构](./project.md) 10 | * [2. 基础系统](./platform.md) 11 | * [3. 小商场](./wxmall.md) 12 | * [4. 管理后台](./admin.md) 13 | * [5. 轻商城](./mobmall.md) -------------------------------------------------------------------------------- /litemall-admin/src/views/redirect/index.vue: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /litemall-core/src/main/java/org/linlinjava/litemall/core/config/AsyncConfig.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core.config; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.scheduling.annotation.EnableAsync; 5 | 6 | @Configuration 7 | @EnableAsync 8 | public class AsyncConfig { 9 | } 10 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/color.d.ts: -------------------------------------------------------------------------------- 1 | export declare const RED = "#ee0a24"; 2 | export declare const BLUE = "#1989fa"; 3 | export declare const WHITE = "#fff"; 4 | export declare const GREEN = "#07c160"; 5 | export declare const ORANGE = "#ff976a"; 6 | export declare const GRAY = "#323233"; 7 | export declare const GRAY_DARK = "#969799"; 8 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/guide.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/wxs/object.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var REGEXP = getRegExp('{|}|"', 'g'); 3 | 4 | function keys(obj) { 5 | return JSON.stringify(obj) 6 | .replace(REGEXP, '') 7 | .split(',') 8 | .map(function(item) { 9 | return item.split(':')[0]; 10 | }); 11 | } 12 | 13 | module.exports.keys = keys; 14 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import SvgIcon from '@/components/SvgIcon'// svg组件 3 | 4 | // register globally 5 | Vue.component('svg-icon', SvgIcon) 6 | 7 | const req = require.context('./svg', false, /\.svg$/) 8 | const requireAll = requireContext => requireContext.keys().map(requireContext) 9 | requireAll(req) 10 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/component.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;width:100%;height:50px;height:var(--tabbar-height,50px);background-color:#fff;background-color:var(--tabbar-background-color,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /renard-wx/pages/auth/login/login.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /litemall-vue/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | /package-lock.json 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw* 23 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;background-color:#fff;background-color:var(--goods-action-background-color,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tree-select/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var array = require('../wxs/array.wxs'); 3 | 4 | function isActive (activeList, itemId) { 5 | if (array.isArray(activeList)) { 6 | return activeList.indexOf(itemId) > -1; 7 | } 8 | 9 | return activeList === itemId; 10 | } 11 | 12 | module.exports.isActive = isActive; 13 | -------------------------------------------------------------------------------- /litemall-admin/src/directive/clipboard/index.js: -------------------------------------------------------------------------------- 1 | import Clipboard from './clipboard' 2 | 3 | const install = function(Vue) { 4 | Vue.directive('Clipboard', Clipboard) 5 | } 6 | 7 | if (window.Vue) { 8 | window.clipboard = Clipboard 9 | Vue.use(install); // eslint-disable-line 10 | } 11 | 12 | Clipboard.install = install 13 | export default Clipboard 14 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/money.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/dao/GoodsProductMapper.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.dao; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | public interface GoodsProductMapper { 6 | int addStock(@Param("id") Integer id, @Param("num") Short num); 7 | int reduceStock(@Param("id") Integer id, @Param("num") Short num); 8 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group__title{padding:16px 16px 8px;padding:var(--cell-group-title-padding,16px 16px 8px);font-size:14px;font-size:var(--cell-group-title-font-size,14px);line-height:16px;line-height:var(--cell-group-title-line-height,16px);color:#969799;color:var(--cell-group-title-color,#969799)} -------------------------------------------------------------------------------- /litemall-admin/src/api/region.js: -------------------------------------------------------------------------------- 1 | import request from '@/utils/request' 2 | 3 | export function listRegion() { 4 | return request({ 5 | url: '/region/list', 6 | method: 'get' 7 | }) 8 | } 9 | 10 | export function listSubRegion(query) { 11 | return request({ 12 | url: '/region/clist', 13 | method: 'get', 14 | params: query 15 | }) 16 | } 17 | -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/util/CouponUserConstant.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.util; 2 | 3 | public class CouponUserConstant { 4 | public static final Short STATUS_USABLE = 0; 5 | public static final Short STATUS_USED = 1; 6 | public static final Short STATUS_EXPIRED = 2; 7 | public static final Short STATUS_OUT = 3; 8 | } 9 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/uploader/utils.d.ts: -------------------------------------------------------------------------------- 1 | interface File { 2 | path: string; 3 | url: string; 4 | size: number; 5 | name: string; 6 | type: string; 7 | time: number; 8 | image: boolean; 9 | } 10 | export declare function isImageUrl(url: string): boolean; 11 | export declare function isImageFile(item: File): boolean; 12 | export {}; 13 | -------------------------------------------------------------------------------- /renard-wx/components/good/good.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 原价:¥{{counterPrice}} 6 | 现价:¥{{retailPrice}} 7 | 8 | -------------------------------------------------------------------------------- /litemall-admin/src/directive/permission/index.js: -------------------------------------------------------------------------------- 1 | import permission from './permission' 2 | 3 | const install = function(Vue) { 4 | Vue.directive('permission', permission) 5 | } 6 | 7 | if (window.Vue) { 8 | window['permission'] = permission 9 | Vue.use(install); // eslint-disable-line 10 | } 11 | 12 | permission.install = install 13 | export default permission 14 | -------------------------------------------------------------------------------- /litemall-vue/src/utils/auth.js: -------------------------------------------------------------------------------- 1 | import Cookies from 'js-cookie' 2 | 3 | const TokenKey = 'X-Litemall-Admin-Token' 4 | 5 | export function getToken() { 6 | return Cookies.get(TokenKey) 7 | } 8 | 9 | export function setToken(token) { 10 | return Cookies.set(TokenKey, token) 11 | } 12 | 13 | export function removeToken() { 14 | return Cookies.remove(TokenKey) 15 | } 16 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/drag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svgo.yml: -------------------------------------------------------------------------------- 1 | # replace default config 2 | 3 | # multipass: true 4 | # full: true 5 | 6 | plugins: 7 | 8 | # - name 9 | # 10 | # or: 11 | # - name: false 12 | # - name: true 13 | # 14 | # or: 15 | # - name: 16 | # param1: 1 17 | # param2: 2 18 | 19 | - removeAttrs: 20 | attrs: 21 | - 'fill' 22 | - 'fill-rule' 23 | -------------------------------------------------------------------------------- /litemall-admin/src/utils/auth.js: -------------------------------------------------------------------------------- 1 | import Cookies from 'js-cookie' 2 | 3 | const TokenKey = 'X-Litemall-Admin-Token' 4 | 5 | export function getToken() { 6 | return Cookies.get(TokenKey) 7 | } 8 | 9 | export function setToken(token) { 10 | return Cookies.set(TokenKey, token) 11 | } 12 | 13 | export function removeToken() { 14 | return Cookies.remove(TokenKey) 15 | } 16 | -------------------------------------------------------------------------------- /litemall-admin/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | **/*.log 8 | 9 | tests/**/coverage/ 10 | tests/e2e/reports 11 | selenium-debug.log 12 | 13 | # Editor directories and files 14 | .idea 15 | .vscode 16 | *.suo 17 | *.ntvs* 18 | *.njsproj 19 | *.sln 20 | *.local 21 | 22 | package-lock.json 23 | yarn.lock 24 | -------------------------------------------------------------------------------- /litemall-admin/src/api/comment.js: -------------------------------------------------------------------------------- 1 | import request from '@/utils/request' 2 | 3 | export function listComment(query) { 4 | return request({ 5 | url: '/comment/list', 6 | method: 'get', 7 | params: query 8 | }) 9 | } 10 | 11 | export function deleteComment(data) { 12 | return request({ 13 | url: '/comment/delete', 14 | method: 'post', 15 | data 16 | }) 17 | } 18 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/guide 2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-db/sql/litemall_schema.sql: -------------------------------------------------------------------------------- 1 | drop database if exists litemall; 2 | drop user if exists 'litemall'@'%'; 3 | -- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4 4 | create database litemall default character set utf8mb4 collate utf8mb4_unicode_ci; 5 | use litemall; 6 | create user 'litemall'@'%' identified by 'litemall123456'; 7 | grant all privileges on litemall.* to 'litemall'@'%'; 8 | flush privileges; -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{position:relative;overflow:hidden}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)} -------------------------------------------------------------------------------- /doc/performance.md: -------------------------------------------------------------------------------- 1 | # 性能 2 | 3 | ## 1 小程序性能 4 | 5 | ## 2 VUE性能 6 | 7 | ## 3 Spring Boot性能 8 | 9 | ### 3.1 gzip压缩 10 | 11 | 在litemall-all模块中配置gzip压缩 12 | ``` 13 | server: 14 | compression: 15 | enabled: true 16 | min-response-size: 2048 17 | mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain 18 | ``` 19 | 20 | ## 4 数据库性能 21 | 22 | ## 5 其他 -------------------------------------------------------------------------------- /litemall-vue/src/assets/scss/_var.scss: -------------------------------------------------------------------------------- 1 | $red: #db3d3c; 2 | $gray-deep: #999; 3 | $gray: #bfbfbf; 4 | $gray-shallow: #e5e5e5; 5 | $gray-shallow-more: #f2f2f2; 6 | 7 | $icon-bg: #f9f3e8; 8 | 9 | //字体变量 10 | $font-color-gray: $gray-deep; 11 | $font-size-small: 12px; 12 | $font-size-normal: 14px; 13 | $font-size-big: 16px; 14 | 15 | $border-color: $gray-shallow; 16 | $bg-color: $gray-shallow-more; -------------------------------------------------------------------------------- /litemall-vue/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | import * as getters from './getters' 4 | import mutations from './mutations' 5 | 6 | Vue.use(Vuex) 7 | 8 | const state = { 9 | showHeader:true, 10 | title:'' 11 | } 12 | 13 | export default new Vuex.Store({ 14 | strict: process.env.NODE_ENV !== 'production', 15 | state, 16 | getters, 17 | mutations 18 | }) 19 | -------------------------------------------------------------------------------- /litemall-wx-api/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: db, core, wx 4 | messages: 5 | encoding: UTF-8 6 | 7 | server: 8 | port: 8082 9 | 10 | logging: 11 | level: 12 | root: ERROR 13 | org.springframework: ERROR 14 | org.mybatis: ERROR 15 | org.linlinjava.litemall.wx: DEBUG 16 | org.linlinjava.litemall: ERROR 17 | 18 | swagger: 19 | production: false -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /litemall-admin-api/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: db, core, admin 4 | messages: 5 | encoding: UTF-8 6 | 7 | server: 8 | port: 8083 9 | 10 | logging: 11 | level: 12 | root: ERROR 13 | org.springframework: ERROR 14 | org.mybatis: ERROR 15 | org.linlinjava.litemall.admin: DEBUG 16 | org.linlinjava.litemall: ERROR 17 | 18 | swagger: 19 | production: false -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/transition/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { transition } from '../mixins/transition'; 3 | VantComponent({ 4 | classes: [ 5 | 'enter-class', 6 | 'enter-active-class', 7 | 'enter-to-class', 8 | 'leave-class', 9 | 'leave-active-class', 10 | 'leave-to-class' 11 | ], 12 | mixins: [transition(true)] 13 | }); 14 | -------------------------------------------------------------------------------- /litemall-vue/src/utils/validate.js: -------------------------------------------------------------------------------- 1 | export const idCard = /^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/; 2 | 3 | export const mobileReg = /^1[0-9]{10}$/; 4 | 5 | export const address = val => { 6 | const value = val.trim(); 7 | return value.length >= 5 && value.length <= 100; 8 | }; 9 | 10 | export const userName = /^[a-zA-Z0-9_\u4e00-\u9fa5]{3,20}$/; 11 | 12 | export const emailReg = /^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/; 13 | -------------------------------------------------------------------------------- /litemall-wx/app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | 3 | .container { 4 | box-sizing: border-box; 5 | background-color: #f4f4f4; 6 | font-family: PingFangSC-Light, helvetica, 'Heiti SC'; 7 | } 8 | 9 | view, image, text, navigator { 10 | box-sizing: border-box; 11 | padding: 0; 12 | margin: 0; 13 | } 14 | 15 | view, text { 16 | font-family: PingFangSC-Light, helvetica, 'Heiti SC'; 17 | font-size: 29rpx; 18 | color: #333; 19 | } 20 | -------------------------------------------------------------------------------- /litemall-vue/src/assets/scss/mixin/_one-border.scss: -------------------------------------------------------------------------------- 1 | @mixin one-border($direction: bottom){ 2 | position: relative; 3 | 4 | &::after { 5 | content: ""; 6 | position: absolute; 7 | top: 0; 8 | left: 0; 9 | width: 200%; 10 | height: 200%; 11 | transform: scale(.5); 12 | transform-origin: 0 0; 13 | pointer-events: none; 14 | box-sizing: border-box; 15 | border-#{$direction}: 1px solid $border-color; 16 | } 17 | } -------------------------------------------------------------------------------- /litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/annotation/LoginUser.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.wx.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | 9 | @Target(ElementType.PARAMETER) 10 | @Retention(RetentionPolicy.RUNTIME) 11 | public @interface LoginUser { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/count-down/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare type TimeData = { 2 | days: number; 3 | hours: number; 4 | minutes: number; 5 | seconds: number; 6 | milliseconds: number; 7 | }; 8 | export declare function parseTimeData(time: number): TimeData; 9 | export declare function parseFormat(format: string, timeData: TimeData): string; 10 | export declare function isSameSecond(time1: number, time2: number): boolean; 11 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-menu/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayTitle(item) { 3 | if (item.title) { 4 | return item.title; 5 | } 6 | 7 | var match = item.options.filter(function(option) { 8 | return option.value === item.value; 9 | }); 10 | var displayTitle = match.length ? match[0].text : ''; 11 | return displayTitle; 12 | } 13 | 14 | module.exports = { 15 | displayTitle: displayTitle 16 | }; 17 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/documentation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /renard-wx/components/notify/index.wxss: -------------------------------------------------------------------------------- 1 | .van-notify{top:0;opacity:0;width:100%;z-index:110;color:#fff;position:fixed;min-height:32px;line-height:2.3;font-size:14px;text-align:center;background-color:#e64340;-webkit-transition:all .4s ease;transition:all .4s ease;-webkit-transform:translateZ(0) translateY(-100%);transform:translateZ(0) translateY(-100%)}.van-notify--show{opacity:1;-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0)} -------------------------------------------------------------------------------- /renard-wx/pages/ucenter/coupon/coupon.js: -------------------------------------------------------------------------------- 1 | var util = require('../../../utils/util.js'); 2 | var api = require('../../../config/api.js'); 3 | 4 | var app = getApp(); 5 | 6 | Page({ 7 | data: { 8 | 9 | }, 10 | onLoad: function(options) {}, 11 | onReady: function() { 12 | 13 | }, 14 | onShow: function() { 15 | 16 | }, 17 | onHide: function() { 18 | // 页面隐藏 19 | 20 | }, 21 | onUnload: function() { 22 | // 页面关闭 23 | } 24 | }) -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 1.8.x | :white_check_mark: | 11 | | < 1.8 | :x: | 12 | 13 | ## Reporting a Vulnerability 14 | 15 | Please report security issues to linlinjavaer@gmail.com 16 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/user.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-vue/src/filter/index.js: -------------------------------------------------------------------------------- 1 | import dayjs from 'dayjs'; 2 | import { isNumber } from 'lodash'; 3 | export const dateFormat = (value, format = 'YYYY-MM-DD') => 4 | value ? dayjs(value * 1000).format(format) : ''; 5 | 6 | export const yuan = value => 7 | isNumber(value) ? `¥${(value / 100).toFixed(2)}` : value; 8 | 9 | export default { 10 | install(Vue) { 11 | Vue.filter('yuan', yuan); 12 | Vue.filter('dateFormat', dateFormat); 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/rate/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-rate{display:-webkit-inline-flex;display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative;padding:0 2px;padding:0 var(--rate-horizontal-padding,2px)}.van-rate__icon{display:block;height:1em;font-size:20px;font-size:var(--rate-icon-size,20px)}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)} -------------------------------------------------------------------------------- /renard-wx/components/goodList/goodList.js: -------------------------------------------------------------------------------- 1 | // components/goodList/goodList.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | goods: { // 属性名 8 | type: Array, // 类型(必填),目前接受的类型包括:String, Number, Boolean, Object, Array, null(表示任意类型) 9 | value: [] // 属性初始值(可选),如果未指定则会根据类型选择一个 10 | }, 11 | }, 12 | 13 | /** 14 | * 组件的初始数据 15 | */ 16 | data: { 17 | 18 | }, 19 | 20 | /** 21 | * 组件的方法列表 22 | */ 23 | methods: { 24 | 25 | } 26 | }) -------------------------------------------------------------------------------- /litemall-core/src/main/java/org/linlinjava/litemall/core/notify/NotifyType.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core.notify; 2 | 3 | public enum NotifyType { 4 | PAY_SUCCEED("paySucceed"), 5 | SHIP("ship"), 6 | REFUND("refund"), 7 | CAPTCHA("captcha"); 8 | 9 | private String type; 10 | 11 | NotifyType(String type) { 12 | this.type = type; 13 | } 14 | 15 | public String getType() { 16 | return this.type; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /litemall-db/sql/README.md: -------------------------------------------------------------------------------- 1 | 这里的数据库由三个sql文件组成: 2 | 3 | 1. litemall_schema.sql 4 | 5 | 作用是创建空数据库、创建用户、设置访问权限。 6 | 7 | 开发者开发测试阶段可以使用,但是部署生产阶段一定要注意修改这里的默认用户名和密码。 8 | 9 | 2. litemall_table.sql 10 | 11 | 作用是创建数据库表,但是没有创建任何数据。 12 | 13 | 因此,开发者可以在部署生产阶段直接使用。 14 | 15 | 3. litemall_data.sql 16 | 17 | 作用是创建测试数据。 18 | 19 | 这里的测试数据来自开源项目[nideshop-mini-program](https://github.com/tumobi/nideshop-mini-program) 20 | 21 | 开发者开发测试阶段可以使用,但是部署开发阶段应该使用自己的数据。 -------------------------------------------------------------------------------- /litemall-vue/src/router/home.js: -------------------------------------------------------------------------------- 1 | const Tabbar = () => import('@/components/Tabbar/'); 2 | 3 | export default [ 4 | { 5 | path: '/', 6 | name: 'home', 7 | components: { 8 | default: () => import('@/views/home/tabbar-home'), 9 | tabbar: Tabbar 10 | }, 11 | meta: { 12 | keepAlive: true, 13 | showHeader:false 14 | }, 15 | }, 16 | { 17 | path: '*', 18 | redirect: { 19 | name: 'home' 20 | } 21 | } 22 | ]; 23 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/link.js: -------------------------------------------------------------------------------- 1 | export const link = Behavior({ 2 | properties: { 3 | url: String, 4 | linkType: { 5 | type: String, 6 | value: 'navigateTo' 7 | } 8 | }, 9 | methods: { 10 | jumpLink(urlKey = 'url') { 11 | const url = this.data[urlKey]; 12 | if (url) { 13 | wx[this.data.linkType]({ url }); 14 | } 15 | } 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /litemall-wx/pages/auth/login/login.wxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{position:fixed;right:0;left:0;overflow:hidden}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active .van-dropdown-item__icon,.van-dropdown-item__option--active .van-dropdown-item__title{color:#1989fa;color:var(--dropdown-menu-option-active-color,#1989fa)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit} -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/excel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-vue/src/components/field-group/index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 13 | 14 | 27 | -------------------------------------------------------------------------------- /renard-wx/components/goodList/goodList.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/observer/behavior.js: -------------------------------------------------------------------------------- 1 | export const behavior = Behavior({ 2 | methods: { 3 | set(data, callback) { 4 | return new Promise(resolve => { 5 | this.setData(data, () => { 6 | if (callback && typeof callback === 'function') { 7 | callback.call(this); 8 | } 9 | resolve(); 10 | }); 11 | }); 12 | } 13 | } 14 | }); 15 | -------------------------------------------------------------------------------- /litemall-admin/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | import app from './modules/app' 4 | import permission from './modules/permission' 5 | import tagsView from './modules/tagsView' 6 | import user from './modules/user' 7 | import getters from './getters' 8 | 9 | Vue.use(Vuex) 10 | 11 | const store = new Vuex.Store({ 12 | modules: { 13 | app, 14 | permission, 15 | tagsView, 16 | user 17 | }, 18 | getters 19 | }) 20 | 21 | export default store 22 | -------------------------------------------------------------------------------- /renard-wx/app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | 3 | .container { 4 | box-sizing: border-box; 5 | font-family: PingFangSC-Light, helvetica, 'Heiti SC'; 6 | width: 100%; 7 | height: 100%; 8 | } 9 | 10 | view, image, text, navigator { 11 | box-sizing: border-box; 12 | padding: 0; 13 | margin: 0; 14 | } 15 | 16 | view, text { 17 | font-family: PingFangSC-Light, helvetica, 'Heiti SC'; 18 | font-size: 29rpx; 19 | color: #a78845; 20 | } 21 | 22 | .wxParse-img { 23 | display: block !important; 24 | } 25 | -------------------------------------------------------------------------------- /litemall-vue/src/mixin/scroll-fixed.js: -------------------------------------------------------------------------------- 1 | // 滚动条记录, 适用于 keep-alive 组件 2 | import { debounce } from 'lodash'; 3 | export default { 4 | data() { 5 | return { 6 | scrollTop: 0 7 | }; 8 | }, 9 | 10 | mounted() { 11 | const vm = this; 12 | 13 | vm.$el.addEventListener( 14 | 'scroll', 15 | debounce(() => { 16 | vm.scrollTop = vm.$el.scrollTop; 17 | }, 50) 18 | ); 19 | }, 20 | 21 | activated() { 22 | this.$el.scrollTop = this.scrollTop; 23 | } 24 | }; 25 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 8 | 12 | 13 | {{ message }} 14 | 15 | 16 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker/shared.js: -------------------------------------------------------------------------------- 1 | export const pickerProps = { 2 | title: String, 3 | loading: Boolean, 4 | showToolbar: Boolean, 5 | cancelButtonText: { 6 | type: String, 7 | value: '取消' 8 | }, 9 | confirmButtonText: { 10 | type: String, 11 | value: '确认' 12 | }, 13 | visibleItemCount: { 14 | type: Number, 15 | value: 5 16 | }, 17 | itemHeight: { 18 | type: Number, 19 | value: 44 20 | } 21 | }; 22 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/example.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-core/src/test/java/org/linlinjava/litemall/core/IntegerTest.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core; 2 | 3 | import org.junit.Test; 4 | 5 | public class IntegerTest { 6 | @Test 7 | public void test() { 8 | Integer a = new Integer(512); 9 | int b = 512; 10 | Integer c = new Integer(512); 11 | System.out.println(a==b); 12 | System.out.println(a.equals(b)); 13 | System.out.println(a == c); 14 | System.out.println(a.equals(c)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/uploader/utils.js: -------------------------------------------------------------------------------- 1 | const IMAGE_EXT = ['jpeg', 'jpg', 'gif', 'png', 'svg']; 2 | export function isImageUrl(url) { 3 | return IMAGE_EXT.some(ext => url.indexOf(`.${ext}`) !== -1); 4 | } 5 | export function isImageFile(item) { 6 | if (item.type) { 7 | return item.type.indexOf('image') === 0; 8 | } 9 | if (item.path) { 10 | return isImageUrl(item.path); 11 | } 12 | if (item.url) { 13 | return isImageUrl(item.url); 14 | } 15 | return false; 16 | } 17 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;text-align:center;color:#000;color:var(--picker-option-text-color,#000);font-size:16px;font-size:var(--picker-option-font-size,16px)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;font-weight:var(--font-weight-bold,500);color:#323233;color:var(--picker-option-selected-text-color,#323233)}.van-picker-column__item--disabled{opacity:.3;opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /renard-wx/pages/brand/brand.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.name}} 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /litemall-wx/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [ 4 | { 5 | "action": "disallow", 6 | "page": "pages/checkout/checkout" 7 | }, 8 | { 9 | "action": "disallow", 10 | "page": "pages/payResult/payResult" 11 | }, 12 | { 13 | "action": "disallow", 14 | "page": "pages/ucenter/index/index" 15 | }, 16 | { 17 | "action": "allow", 18 | "page": "*" 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/annotation/RequiresPermissionsDesc.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.admin.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target({ElementType.TYPE, ElementType.METHOD}) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface RequiresPermissionsDesc { 11 | String[] menu(); 12 | 13 | String button(); 14 | } 15 | -------------------------------------------------------------------------------- /litemall-admin/src/api/stat.js: -------------------------------------------------------------------------------- 1 | import request from '@/utils/request' 2 | 3 | export function statUser(query) { 4 | return request({ 5 | url: '/stat/user', 6 | method: 'get', 7 | params: query 8 | }) 9 | } 10 | 11 | export function statOrder(query) { 12 | return request({ 13 | url: '/stat/order', 14 | method: 'get', 15 | params: query 16 | }) 17 | } 18 | 19 | export function statGoods(query) { 20 | return request({ 21 | url: '/stat/goods', 22 | method: 'get', 23 | params: query 24 | }) 25 | } 26 | -------------------------------------------------------------------------------- /renard-wx/components/capsule/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ leftText }} 4 | {{ rightText }} 5 | 6 | 7 | {{ leftText }} 8 | {{ rightText }} 9 | 10 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/button.js: -------------------------------------------------------------------------------- 1 | export const button = Behavior({ 2 | externalClasses: ['hover-class'], 3 | properties: { 4 | id: String, 5 | lang: { 6 | type: String, 7 | value: 'en' 8 | }, 9 | businessId: Number, 10 | sessionFrom: String, 11 | sendMessageTitle: String, 12 | sendMessagePath: String, 13 | sendMessageImg: String, 14 | showMessageCard: Boolean, 15 | appParameter: String, 16 | ariaLabel: String 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tag/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | size: String, 5 | mark: Boolean, 6 | color: String, 7 | plain: Boolean, 8 | round: Boolean, 9 | textColor: String, 10 | type: { 11 | type: String, 12 | value: 'default' 13 | }, 14 | closeable: Boolean 15 | }, 16 | methods: { 17 | onClose() { 18 | this.$emit('close'); 19 | } 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-icon/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action-icon{border:none!important;width:50px!important;width:var(--goods-action-icon-height,50px)!important}.van-goods-action-icon__content{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;height:100%;line-height:1;font-size:10px;font-size:var(--goods-action-icon-font-size,10px);color:#646566;color:var(--goods-action-icon-text-color,#646566)}.van-goods-action-icon__icon{margin-bottom:4px} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /litemall-vue/src/components/is-empty/index.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 17 | 18 | 19 | 29 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /litemall-all/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: db, core, admin, wx 4 | messages: 5 | encoding: UTF-8 6 | servlet: 7 | multipart: 8 | max-file-size: 20MB 9 | max-request-size: 20MB 10 | 11 | server: 12 | port: 8080 13 | compression: 14 | enabled: true 15 | min-response-size: 2048 16 | mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain 17 | 18 | logging: 19 | config: classpath:logback-spring.xml 20 | 21 | swagger: 22 | production: false -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/common/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare function isDef(value: any): boolean; 3 | export declare function isObj(x: any): boolean; 4 | export declare function isNumber(value: any): boolean; 5 | export declare function range(num: number, min: number, max: number): number; 6 | export declare function nextTick(fn: Function): void; 7 | export declare function getSystemInfoSync(): WechatMiniprogram.GetSystemInfoSuccessCallbackResult; 8 | export declare function addUnit(value?: string | number): string | undefined; 9 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/overlay/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | show: Boolean, 5 | customStyle: String, 6 | duration: { 7 | type: null, 8 | value: 300 9 | }, 10 | zIndex: { 11 | type: Number, 12 | value: 1 13 | } 14 | }, 15 | methods: { 16 | onClick() { 17 | this.$emit('click'); 18 | }, 19 | // for prevent touchmove 20 | noop() { } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /renard-wx/components/capsule/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Component({ 4 | externalClasses: ['custom-class'], 5 | /** 6 | * 组件的属性列表 7 | * 用于组件自定义设置 8 | */ 9 | properties: { 10 | // 颜色状态 11 | type: { 12 | type: String, 13 | value: '' 14 | }, 15 | // 自定义颜色 16 | color: { 17 | type: String, 18 | value: '' 19 | }, 20 | // 左侧内容 21 | leftText: { 22 | type: String, 23 | value: '' 24 | }, 25 | // 右侧内容 26 | rightText: { 27 | type: String, 28 | value: '' 29 | } 30 | } 31 | }); -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-anchor/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | name: 'index-bar', 5 | type: 'ancestor', 6 | linked(target) { 7 | this.parent = target; 8 | }, 9 | unlinked() { 10 | this.parent = null; 11 | } 12 | }, 13 | props: { 14 | useSlot: Boolean, 15 | index: null 16 | }, 17 | data: { 18 | active: false, 19 | wrapperStyle: '', 20 | anchorStyle: '' 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /renard-wx/components/goodList/goodList.wxss: -------------------------------------------------------------------------------- 1 | .b { 2 | width: 750rpx; 3 | padding: 0 6.25rpx; 4 | height: auto; 5 | overflow: hidden; 6 | z-index: 1; 7 | } 8 | 9 | .b .good { 10 | z-index: 1; 11 | } 12 | 13 | .b .item { 14 | float: left; 15 | background: #fff; 16 | width: 365rpx; 17 | margin-bottom: 6.25rpx; 18 | height: 482rpx; 19 | overflow: hidden; 20 | text-align: center; 21 | z-index: 1; 22 | } 23 | 24 | .b .item .a { 25 | height: 452rpx; 26 | width: 100%; 27 | z-index: 1; 28 | } 29 | 30 | .b .item-b { 31 | margin-left: 6.25rpx; 32 | z-index: 1; 33 | } 34 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/domain/UserVo.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.domain; 2 | 3 | public class UserVo { 4 | private String nickname; 5 | private String avatar; 6 | 7 | public String getNickname() { 8 | return nickname; 9 | } 10 | 11 | public void setNickname(String nickname) { 12 | this.nickname = nickname; 13 | } 14 | 15 | public String getAvatar() { 16 | return avatar; 17 | } 18 | 19 | public void setAvatar(String avatar) { 20 | this.avatar = avatar; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /litemall-vue/src/utils/local-storage.js: -------------------------------------------------------------------------------- 1 | export const getLocalStorage = (...args) => { 2 | const storage = {}; 3 | args.forEach(arg => { 4 | storage[arg] = window.localStorage.getItem(arg) || null; 5 | }); 6 | return storage; 7 | }; 8 | 9 | export const setLocalStorage = data => { 10 | Object.keys(data).forEach(prop => { 11 | const el = data[prop]; 12 | window.localStorage.setItem(prop, el); 13 | }); 14 | }; 15 | 16 | export const removeLocalStorage = (...args) => { 17 | args.forEach(arg => { 18 | window.localStorage.removeItem(arg); 19 | }); 20 | }; 21 | -------------------------------------------------------------------------------- /litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/dto/WxLoginInfo.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.wx.dto; 2 | 3 | public class WxLoginInfo { 4 | private String code; 5 | private UserInfo userInfo; 6 | 7 | public String getCode() { 8 | return code; 9 | } 10 | 11 | public void setCode(String code) { 12 | this.code = code; 13 | } 14 | 15 | public UserInfo getUserInfo() { 16 | return userInfo; 17 | } 18 | 19 | public void setUserInfo(UserInfo userInfo) { 20 | this.userInfo = userInfo; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /litemall-db/src/test/java/org/linlinjava/litemall/db/Application.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication(scanBasePackages = {"org.linlinjava.litemall.db"}) 8 | @MapperScan("org.linlinjava.litemall.db.dao") 9 | public class Application { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(Application.class, args); 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /litemall-vue/src/App.vue: -------------------------------------------------------------------------------- 1 | 11 | 20 | 23 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{position:fixed;top:50%;right:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-weight:500;padding:0 4px 0 16px;padding:0 var(--padding-base,4px) 0 var(--padding-md,16px);font-size:10px;font-size:var(--index-bar-index-font-size,10px);line-height:14px;line-height:var(--index-bar-index-line-height,14px)} -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/area/index.wxml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/picker/shared.d.ts: -------------------------------------------------------------------------------- 1 | export declare const pickerProps: { 2 | title: StringConstructor; 3 | loading: BooleanConstructor; 4 | showToolbar: BooleanConstructor; 5 | cancelButtonText: { 6 | type: StringConstructor; 7 | value: string; 8 | }; 9 | confirmButtonText: { 10 | type: StringConstructor; 11 | value: string; 12 | }; 13 | visibleItemCount: { 14 | type: NumberConstructor; 15 | value: number; 16 | }; 17 | itemHeight: { 18 | type: NumberConstructor; 19 | value: number; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /litemall-vue/.env.development: -------------------------------------------------------------------------------- 1 | # just a flag 2 | ENV = 'development' 3 | 4 | # base api 5 | VUE_APP_BASE_API = '/wx' 6 | 7 | # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, 8 | # to control whether the babel-plugin-dynamic-import-node plugin is enabled. 9 | # It only does one thing by converting all import() to require(). 10 | # This configuration can significantly increase the speed of hot updates, 11 | # when you have a large number of pages. 12 | # Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js 13 | 14 | VUE_CLI_BABEL_TRANSPILE_MODULES = true 15 | -------------------------------------------------------------------------------- /doc/mobmall.md: -------------------------------------------------------------------------------- 1 | # 5 litemall轻商城 2 | 3 | litemall轻商城,是商城移动版本。 4 | 5 | 技术: 6 | 7 | * 轻商城前端,即litemall-vue模块 8 | * vue-cli3 9 | * Vue + Vue-router + Vant + Sass 10 | * axios 11 | * fastclick 12 | * babel-polyfill 13 | * @xkeshi/vue-countdown 14 | * Vant 15 | * 轻商城后端,即litemall-wx-api模块,也就是和小商城后端是一样的。 16 | * Spring Boot 2.x 17 | * Spring MVC 18 | * [weixin-java-tools](https://gitee.com/binary/weixin-java-tools) 19 | 20 | 21 | ## 5.1 litemall-wx-api 22 | 23 | 可以阅读3.1 24 | 25 | ## 5.2 litemall-vue 26 | 27 | 这里的代码基于[vant--mobile-mall](https://github.com/qianzhaoy/vant--mobile-mall) 28 | 29 | 文档未完成。 30 | -------------------------------------------------------------------------------- /litemall-admin/.env.development: -------------------------------------------------------------------------------- 1 | # just a flag 2 | ENV = 'development' 3 | 4 | # base api 5 | VUE_APP_BASE_API = '/admin' 6 | 7 | # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, 8 | # to control whether the babel-plugin-dynamic-import-node plugin is enabled. 9 | # It only does one thing by converting all import() to require(). 10 | # This configuration can significantly increase the speed of hot updates, 11 | # when you have a large number of pages. 12 | # Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js 13 | 14 | VUE_CLI_BABEL_TRANSPILE_MODULES = true 15 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-core/src/test/java/org/linlinjava/litemall/core/Application.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication(scanBasePackages = {"org.linlinjava.litemall.db", "org.linlinjava.litemall.core"}) 8 | @MapperScan("org.linlinjava.litemall.db.dao") 9 | public class Application { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(Application.class, args); 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /litemall-db/src/test/java/org/linlinjava/litemall/db/DbTest.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 7 | import org.springframework.test.context.junit4.SpringRunner; 8 | import org.springframework.test.context.web.WebAppConfiguration; 9 | 10 | @WebAppConfiguration 11 | @RunWith(SpringRunner.class) 12 | @SpringBootTest 13 | public class DbTest { 14 | @Test 15 | public void test() { 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /litemall-core/src/main/java/org/linlinjava/litemall/core/notify/SmsSender.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core.notify; 2 | 3 | public interface SmsSender { 4 | 5 | /** 6 | * 发送短信息 7 | * 8 | * @param phone 接收通知的电话号码 9 | * @param content 短消息内容 10 | */ 11 | SmsResult send(String phone, String content); 12 | 13 | 14 | /** 15 | * 通过短信模版发送短信息 16 | * @param phone 接收通知的电话号码 17 | * @param templateId 通知模板ID 18 | * @param params 通知模版内容里的参数,类似"您的验证码为{1}"中{1}的值 19 | */ 20 | SmsResult sendWithTemplate(String phone, String templateId, String[] params); 21 | } -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/util/GrouponConstant.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.util; 2 | 3 | import org.linlinjava.litemall.db.domain.LitemallOrder; 4 | 5 | public class GrouponConstant { 6 | public static final Short RULE_STATUS_ON = 0; 7 | public static final Short RULE_STATUS_DOWN_EXPIRE = 1; 8 | public static final Short RULE_STATUS_DOWN_ADMIN = 2; 9 | 10 | 11 | public static final Short STATUS_NONE = 0; 12 | public static final Short STATUS_ON = 1; 13 | public static final Short STATUS_SUCCEED = 2; 14 | public static final Short STATUS_FAIL = 3; 15 | } 16 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 6 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/steps/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { GREEN } from '../common/color'; 3 | VantComponent({ 4 | props: { 5 | icon: String, 6 | steps: Array, 7 | active: Number, 8 | direction: { 9 | type: String, 10 | value: 'horizontal' 11 | }, 12 | activeColor: { 13 | type: String, 14 | value: GREEN 15 | }, 16 | activeIcon: { 17 | type: String, 18 | value: 'checked' 19 | }, 20 | inactiveIcon: String 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/sidebar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 16 | {{ title }} 17 | 18 | 19 | -------------------------------------------------------------------------------- /litemall-wx/pages/brand/brand.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.name}} 10 | | 11 | {{item.floorPrice}}元起 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /renard-wx/components/notice-bar/index.wxss: -------------------------------------------------------------------------------- 1 | .van-notice-bar{display:-webkit-box;display:-webkit-flex;display:flex;padding:9px 10px;font-size:12px;line-height:1}.van-notice-bar--within-icon{position:relative;padding-right:30px}.van-notice-bar__left-icon{height:18px;min-width:20px;padding-top:1px;box-sizing:border-box}.van-notice-bar__left-icon>image{width:16px;height:16px}.van-notice-bar__right-icon{position:absolute;top:10px;right:10px;font-size:15px;line-height:1}.van-notice-bar__content-wrap{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:18px;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap} 2 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/notify/notify.d.ts: -------------------------------------------------------------------------------- 1 | interface NotifyOptions { 2 | type?: 'primary' | 'success' | 'danger' | 'warning'; 3 | color?: string; 4 | zIndex?: number; 5 | message: string; 6 | context?: any; 7 | duration?: number; 8 | selector?: string; 9 | background?: string; 10 | safeAreaInsetTop?: boolean; 11 | onClick?: () => void; 12 | onOpened?: () => void; 13 | onClose?: () => void; 14 | } 15 | declare function Notify(options: NotifyOptions | string): any; 16 | declare namespace Notify { 17 | var clear: (options?: NotifyOptions) => void; 18 | } 19 | export default Notify; 20 | -------------------------------------------------------------------------------- /renard-wx/pages/brandDetail/brandDetail.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{brand.name}} 8 | 9 | 10 | 11 | 12 | 13 | {{brand.desc}} 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/password.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-admin/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | <%= webpackConfig.name %> 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | type: 'descendant', 5 | name: 'goods-action-button', 6 | linked(child) { 7 | this.children.push(child); 8 | }, 9 | unlinked(child) { 10 | this.children = this.children.filter((item) => item !== child); 11 | } 12 | }, 13 | beforeCreate() { 14 | this.children = []; 15 | }, 16 | props: { 17 | safeAreaInsetBottom: { 18 | type: Boolean, 19 | value: true 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /litemall-db/src/main/java/org/linlinjava/litemall/db/util/AftersaleConstant.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db.util; 2 | 3 | public class AftersaleConstant { 4 | public static final Short STATUS_INIT = 0; 5 | public static final Short STATUS_REQUEST = 1; 6 | public static final Short STATUS_RECEPT = 2; 7 | public static final Short STATUS_REFUND = 3; 8 | public static final Short STATUS_REJECT = 4; 9 | public static final Short STATUS_CANCEL = 5; 10 | 11 | public static final Short TYPE_GOODS_MISS = 0; 12 | public static final Short TYPE_GOODS_NEEDLESS = 1; 13 | public static final Short TYPE_GOODS_REQUIRED = 2; 14 | } 15 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 19 | {{ item }} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /renard-wx/components/good/good.js: -------------------------------------------------------------------------------- 1 | // components/good/good.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | title: { // 属性名 8 | type: String, // 类型(必填),目前接受的类型包括:String, Number, Boolean, Object, Array, null(表示任意类型) 9 | value: '标题' // 属性初始值(可选),如果未指定则会根据类型选择一个 10 | }, 11 | imageUrl: { 12 | type: String, 13 | value: '' 14 | }, 15 | counterPrice: { 16 | type: Number, 17 | value: 0 18 | }, 19 | retailPrice: { 20 | type: Number, 21 | value: 0 22 | }, 23 | }, 24 | 25 | /** 26 | * 组件的初始数据 27 | */ 28 | data: { 29 | 30 | }, 31 | 32 | /** 33 | * 组件的方法列表 34 | */ 35 | methods: { 36 | 37 | } 38 | }) -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/tab.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-db/src/test/java/org/linlinjava/litemall/db/DbUtilTest.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.db; 2 | 3 | import org.junit.Test; 4 | import org.linlinjava.litemall.db.util.DbUtil; 5 | 6 | import java.io.File; 7 | 8 | public class DbUtilTest { 9 | @Test 10 | public void testBackup() { 11 | File file = new File("test.sql"); 12 | DbUtil.backup(file, "litemall", "litemall123456", "litemall"); 13 | } 14 | 15 | // 这个测试用例会重置litemall数据库,所以比较危险,请开发者注意 16 | // @Test 17 | public void testLoad() { 18 | File file = new File("test.sql"); 19 | DbUtil.load(file, "litemall", "litemall123456", "litemall"); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{padding:0 16px;padding:var(--index-anchor-padding,0 16px);color:#323233;color:var(--index-anchor-text-color,#323233);font-weight:500;font-weight:var(--index-anchor-font-weight,500);font-size:14px;font-size:var(--index-anchor-font-size,14px);line-height:32px;line-height:var(--index-anchor-line-height,32px);background-color:initial;background-color:var(--index-anchor-background-color,transparent)}.van-index-anchor--active{right:0;left:0;color:#07c160;color:var(--index-anchor-active-text-color,#07c160);background-color:#fff;background-color:var(--index-anchor-active-background-color,#fff)} -------------------------------------------------------------------------------- /renard-wx/components/sharePop/sharePop.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-admin/src/store/getters.js: -------------------------------------------------------------------------------- 1 | const getters = { 2 | sidebar: state => state.app.sidebar, 3 | language: state => state.app.language, 4 | size: state => state.app.size, 5 | device: state => state.app.device, 6 | visitedViews: state => state.tagsView.visitedViews, 7 | cachedViews: state => state.tagsView.cachedViews, 8 | token: state => state.user.token, 9 | avatar: state => state.user.avatar, 10 | name: state => state.user.name, 11 | roles: state => state.user.roles, 12 | perms: state => state.user.perms, 13 | permission_routes: state => state.permission.routes, 14 | addRoutes: state => state.permission.addRoutes 15 | } 16 | export default getters 17 | -------------------------------------------------------------------------------- /litemall-core/src/main/java/org/linlinjava/litemall/core/util/DateTimeUtil.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core.util; 2 | 3 | import java.time.LocalDateTime; 4 | import java.time.format.DateTimeFormatter; 5 | 6 | /** 7 | * 日期格式化工具类 8 | */ 9 | public class DateTimeUtil { 10 | 11 | /** 12 | * 格式 yyyy年MM月dd日 HH:mm:ss 13 | * 14 | * @param dateTime 15 | * @return 16 | */ 17 | public static String getDateTimeDisplayString(LocalDateTime dateTime) { 18 | DateTimeFormatter dtf2 = DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH:mm:ss"); 19 | String strDate2 = dtf2.format(dateTime); 20 | 21 | return strDate2; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /litemall-vue/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true, 5 | es6: true 6 | }, 7 | // extends: ['plugin:vue/essential', '@vue/prettier'], 8 | // rules: { 9 | // camelcase: 'off', 10 | // quotes: ['error', 'single'], 11 | // indent: ['error', 2, { SwitchCase: 1 }], 12 | // 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 13 | // 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' 14 | // }, 15 | parserOptions: { 16 | parser: 'babel-eslint', 17 | ecmaVersion:"latest",//最新版,或者你需要的 ECMAScript 版本 18 | sourceType:"module" // 允许使用 import/export 语句 19 | } 20 | }; 21 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/col/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | name: 'row', 5 | type: 'ancestor' 6 | }, 7 | props: { 8 | span: Number, 9 | offset: Number 10 | }, 11 | data: { 12 | style: '' 13 | }, 14 | methods: { 15 | setGutter(gutter) { 16 | const padding = `${gutter / 2}px`; 17 | const style = gutter ? `padding-left: ${padding}; padding-right: ${padding};` : ''; 18 | if (style !== this.data.style) { 19 | this.setData({ style }); 20 | } 21 | } 22 | } 23 | }); 24 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/message.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deploy/bin/reset.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 本脚本的作用是重置部署环境 4 | # 1.重置数据库 5 | # 2.删除storage文件夹内文件 6 | # 3.调用deploy.sh启动服务 7 | # 注意:由于1和2的原因,请仅在开发测试阶段使用本脚本! 8 | 9 | # 重置数据库 10 | # i. 请在`XXXXXX`处设置相应的root密码 11 | # ii. 同时请注意root密码放在脚本是非常危险的,因此这里仅仅是用于开发测试阶段。 12 | ROOT=root 13 | PASSWORD= 14 | 15 | if test -z "$PASSWORD" 16 | then 17 | echo "请设置云服务器MySQL的root账号密码" 18 | exit 1 19 | fi 20 | 21 | # 导入数据 22 | cd /home/ubuntu/deploy/db || exit 2 23 | mysql -h localhost -u $ROOT -p$PASSWORD < litemall.sql 24 | 25 | # 删除storage文件夹内文件 26 | cd /home/ubuntu/deploy/litemall/storage || exit 2 27 | rm -f ./** 28 | 29 | # 重新部署服务 30 | cd /home/ubuntu/deploy/bin || exit 2 31 | sudo ./stop.sh 32 | sudo ./deploy.sh -------------------------------------------------------------------------------- /litemall-wx/pages/help/help.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{item.question}} 8 | 9 | 10 | {{item.answer}} 11 | 12 | 13 | 14 | 15 | 16 | 上一页 17 | 下一页 18 | 19 | 20 | -------------------------------------------------------------------------------- /litemall-admin/src/icons/svg/theme.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /litemall-wx-api/src/test/java/org/linlinjava/litemall/wx/BigDecimalTest.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.wx; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 6 | 7 | import java.math.BigDecimal; 8 | 9 | @RunWith(SpringJUnit4ClassRunner.class) 10 | public class BigDecimalTest { 11 | 12 | @Test 13 | public void test() { 14 | BigDecimal a = new BigDecimal(0); 15 | BigDecimal b = new BigDecimal(1); 16 | BigDecimal c = a.subtract(b); 17 | BigDecimal d = c.max(new BigDecimal(0)); 18 | 19 | System.out.println(c); 20 | System.out.println(d); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/swipe-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/service/UserTokenManager.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.wx.service; 2 | 3 | import org.linlinjava.litemall.wx.util.JwtHelper; 4 | 5 | /** 6 | * 维护用户token 7 | */ 8 | public class UserTokenManager { 9 | public static String generateToken(Integer id) { 10 | JwtHelper jwtHelper = new JwtHelper(); 11 | return jwtHelper.createToken(id); 12 | } 13 | public static Integer getUserId(String token) { 14 | JwtHelper jwtHelper = new JwtHelper(); 15 | Integer userId = jwtHelper.verifyTokenAndGetUserId(token); 16 | if(userId == null || userId == 0){ 17 | return null; 18 | } 19 | return userId; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/goods-action-icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { link } from '../mixins/link'; 3 | import { button } from '../mixins/button'; 4 | import { openType } from '../mixins/open-type'; 5 | VantComponent({ 6 | classes: ['icon-class', 'text-class'], 7 | mixins: [link, button, openType], 8 | props: { 9 | text: String, 10 | dot: Boolean, 11 | info: String, 12 | icon: String, 13 | disabled: Boolean, 14 | loading: Boolean 15 | }, 16 | methods: { 17 | onClick(event) { 18 | this.$emit('click', event.detail); 19 | this.jumpLink(); 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /litemall-core/src/main/java/org/linlinjava/litemall/core/notify/SmsResult.java: -------------------------------------------------------------------------------- 1 | package org.linlinjava.litemall.core.notify; 2 | 3 | /** 4 | * 发送短信的返回结果 5 | */ 6 | public class SmsResult { 7 | private boolean successful; 8 | private Object result; 9 | 10 | /** 11 | * 短信是否发送成功 12 | * 13 | * @return 14 | */ 15 | public boolean isSuccessful() { 16 | return successful; 17 | } 18 | 19 | public void setSuccessful(boolean successful) { 20 | this.successful = successful; 21 | } 22 | 23 | public Object getResult() { 24 | return result; 25 | } 26 | 27 | public void setResult(Object result) { 28 | this.result = result; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /litemall-wx/pages/about/about.wxss: -------------------------------------------------------------------------------- 1 | /* about.wxss */ 2 | 3 | .label { 4 | font-size: 26rpx; 5 | margin-left: 20rpx; 6 | padding: 10rpx 0; 7 | } 8 | 9 | 10 | .about-item{ 11 | background: white; 12 | border-top: solid #f2f2f2 0.5rpx; 13 | border-bottom: solid #f2f2f2 0.5rpx; 14 | width: 100%; 15 | height: 100rpx; 16 | display: flex; 17 | flex-direction: row; 18 | justify-content: space-between; 19 | } 20 | 21 | .item-left{ 22 | font-size: 38rpx; 23 | margin-left: 40rpx; 24 | margin-top: auto; 25 | margin-bottom: auto; 26 | } 27 | 28 | .item-right{ 29 | margin-right: 15rpx; 30 | margin-top: auto; 31 | margin-bottom: auto; 32 | } 33 | .right-icon{ 34 | width: 40rpx; 35 | height: 40rpx; 36 | } -------------------------------------------------------------------------------- /litemall-wx/lib/vant-weapp/mixins/observer/index.js: -------------------------------------------------------------------------------- 1 | import { behavior } from './behavior'; 2 | export function observe(vantOptions, options) { 3 | const { watch } = vantOptions; 4 | options.behaviors.push(behavior); 5 | if (watch) { 6 | const props = options.properties || {}; 7 | Object.keys(watch).forEach(key => { 8 | if (key in props) { 9 | let prop = props[key]; 10 | if (prop === null || !('type' in prop)) { 11 | prop = { type: prop }; 12 | } 13 | prop.observer = watch[key]; 14 | props[key] = prop; 15 | } 16 | }); 17 | options.properties = props; 18 | } 19 | } 20 | --------------------------------------------------------------------------------