├── weixin-service-timer └── src │ └── main │ └── resources │ ├── config.properties │ └── log4j.properties ├── docs ├── xxbao.vp ├── 电商平台框架-后台框架.doc └── 电商-数据库详细设计说明书V0.4.doc ├── weixin-notify-pay ├── src │ └── main │ │ └── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ └── web.xml └── pom.xml ├── weixin-web-mobile └── src │ ├── main │ ├── resources │ │ ├── globalconf.properties │ │ └── rebel.xml │ ├── webapp │ │ ├── WEB-INF │ │ │ └── views │ │ │ │ └── index.jsp │ │ ├── index.jsp │ │ └── static │ │ │ └── images │ │ │ ├── product │ │ │ ├── hj.jpg │ │ │ ├── tb.jpg │ │ │ ├── tx.jpg │ │ │ ├── zm.jpg │ │ │ ├── d-1.jpg │ │ │ ├── d-2.jpg │ │ │ └── d-3.jpg │ │ │ └── ad │ │ │ ├── swiper-1.jpg │ │ │ ├── swiper-2.jpg │ │ │ └── swiper-3.jpg │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── web │ │ └── mobile │ │ ├── param │ │ ├── package-info.java │ │ ├── ProductCategoryDto.java │ │ ├── ProductListDto.java │ │ ├── LoginDto.java │ │ ├── PageDto.java │ │ └── AddressDto.java │ │ ├── result │ │ ├── package-info.java │ │ ├── cart │ │ │ └── ProductInfoComparator.java │ │ ├── mall │ │ │ ├── Mall.java │ │ │ ├── MallBuy.java │ │ │ └── ProductCategory.java │ │ ├── index │ │ │ ├── IndexBuy.java │ │ │ ├── IndexNotice.java │ │ │ └── IndexImage.java │ │ └── order │ │ │ ├── Status.java │ │ │ ├── ProductDetail.java │ │ │ ├── ArayacakTownAddr.java │ │ │ └── OrderDeliveryTime.java │ │ ├── security │ │ ├── package-info.java │ │ ├── TokenManager.java │ │ ├── IgnoreSecurity.java │ │ └── LocalUser.java │ │ ├── properties │ │ └── Global.java │ │ ├── model │ │ ├── Book.java │ │ └── Response.java │ │ └── exception │ │ └── LoginException.java │ └── test │ ├── resources │ ├── log4j.properties │ └── applicationContext.xml │ └── java │ └── com │ └── cheng │ └── dubbo │ └── consumer │ └── test │ └── TestDemo.java ├── weixin-web-manage └── src │ └── main │ ├── resources │ ├── globalconf.properties │ ├── rebel.xml │ ├── ehcache │ │ └── ehcache.xml │ └── log4j.properties │ └── webapp │ ├── test.jsp │ ├── static │ ├── favicon.ico │ ├── img │ │ ├── a1.jpg │ │ ├── a2.jpg │ │ ├── a3.jpg │ │ ├── a4.jpg │ │ ├── a5.jpg │ │ ├── a6.jpg │ │ ├── a7.jpg │ │ ├── a8.jpg │ │ ├── a9.jpg │ │ ├── bg.png │ │ ├── p1.jpg │ │ ├── p2.jpg │ │ ├── p3.jpg │ │ ├── pay.png │ │ ├── icons.png │ │ ├── index.jpg │ │ ├── user.png │ │ ├── index_4.jpg │ │ ├── locked.png │ │ ├── p_big1.jpg │ │ ├── p_big2.jpg │ │ ├── p_big3.jpg │ │ ├── profile.jpg │ │ ├── progress.png │ │ ├── qr_code.png │ │ ├── success.png │ │ ├── wenku_logo.png │ │ ├── drawCheckCode.jpg │ │ ├── iconfont-logo.png │ │ ├── profile_big.jpg │ │ ├── profile_small.jpg │ │ ├── weixin_login.jpg │ │ ├── loading-upload.gif │ │ ├── login-background.jpg │ │ └── profile_small.bak.jpg │ ├── html │ │ └── favicon.ico │ ├── css │ │ ├── patterns │ │ │ ├── shattered.png │ │ │ ├── header-profile.png │ │ │ ├── header-profile-skin-1.png │ │ │ └── header-profile-skin-3.png │ │ └── plugins │ │ │ ├── iCheck │ │ │ ├── green.png │ │ │ └── green@2x.png │ │ │ ├── images │ │ │ ├── sort_asc.png │ │ │ ├── sort_desc.png │ │ │ ├── spritemap.png │ │ │ ├── spritemap@2x.png │ │ │ └── sprite-skin-flat.png │ │ │ ├── blueimp │ │ │ └── img │ │ │ │ ├── error.png │ │ │ │ ├── loading.gif │ │ │ │ ├── play-pause.png │ │ │ │ ├── video-play.png │ │ │ │ ├── video-play.svg │ │ │ │ ├── error.svg │ │ │ │ └── play-pause.svg │ │ │ ├── chosen │ │ │ ├── chosen-sprite.png │ │ │ └── chosen-sprite@2x.png │ │ │ ├── footable │ │ │ └── fonts │ │ │ │ ├── footable.eot │ │ │ │ ├── footable.ttf │ │ │ │ ├── footable.woff │ │ │ │ └── footabled41d.eot │ │ │ ├── colorpicker │ │ │ └── img │ │ │ │ └── bootstrap-colorpicker │ │ │ │ ├── hue.png │ │ │ │ ├── alpha.png │ │ │ │ ├── saturation.png │ │ │ │ ├── hue-horizontal.png │ │ │ │ └── alpha-horizontal.png │ │ │ ├── morris │ │ │ └── morris-0.4.3.min.css │ │ │ ├── webuploader │ │ │ └── webuploader.css │ │ │ ├── switchery │ │ │ └── switchery.css │ │ │ └── fullcalendar │ │ │ └── fullcalendar.print.css │ ├── js │ │ ├── plugins │ │ │ ├── fancybox │ │ │ │ ├── blank.gif │ │ │ │ ├── fancybox_loading.gif │ │ │ │ ├── fancybox_overlay.png │ │ │ │ ├── fancybox_sprite.png │ │ │ │ ├── fancybox_loading@2x.gif │ │ │ │ └── fancybox_sprite@2x.png │ │ │ ├── layer │ │ │ │ ├── laydate-v1.1.zip │ │ │ │ ├── layim │ │ │ │ │ └── loading.gif │ │ │ │ ├── laydate-v1.1 │ │ │ │ │ ├── 更新日志.txt │ │ │ │ │ ├── layDate官网.url │ │ │ │ │ └── laydate │ │ │ │ │ │ └── skins │ │ │ │ │ │ ├── molv │ │ │ │ │ │ └── icon.png │ │ │ │ │ │ ├── dahong │ │ │ │ │ │ └── icon.png │ │ │ │ │ │ └── default │ │ │ │ │ │ └── icon.png │ │ │ │ └── laydate │ │ │ │ │ └── skins │ │ │ │ │ ├── dahong │ │ │ │ │ └── icon.png │ │ │ │ │ ├── molv │ │ │ │ │ └── icon.png │ │ │ │ │ └── default │ │ │ │ │ └── icon.png │ │ │ ├── gritter │ │ │ │ └── images │ │ │ │ │ ├── gritter.png │ │ │ │ │ ├── ie-spacer.gif │ │ │ │ │ └── gritter-light.png │ │ │ ├── webuploader │ │ │ │ └── index.html │ │ │ └── bootstrap-table │ │ │ │ └── locale │ │ │ │ └── bootstrap-table-zh-CN.min.js │ │ ├── demo │ │ │ └── peity-demo.min.js │ │ └── welcome.min.js │ └── fonts │ │ ├── fontawesome-webfont93e3.eot │ │ ├── fontawesome-webfont93e3.ttf │ │ ├── fontawesome-webfontd41d.eot │ │ ├── fontawesome-webfont93e3.woff │ │ ├── fontawesome-webfont93e3.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ ├── glyphicons-halflings-regular.woff2 │ │ └── glyphicons-halflings-regulard41d.eot │ └── WEB-INF │ ├── views │ └── test.jsp │ ├── tags │ └── captcha.tag │ └── include │ └── taglibs.jsp ├── .gitignore ├── weixin-common-config ├── src │ └── main │ │ └── resources │ │ ├── rabbitmq.properties │ │ └── jdbc.properties └── pom.xml ├── weixin-rpc-wxtools └── src │ └── main │ └── java │ └── com │ └── cheng │ └── weixin │ └── rpc │ └── wxtools │ ├── enums │ ├── MidiaType.java │ ├── MsgType.java │ ├── Event.java │ ├── Status.java │ └── ActionType.java │ ├── service │ ├── RpcWxMenuService.java │ └── RpcMessageHandleService.java │ ├── entity │ ├── WxMenu.java │ └── WxGroup.java │ ├── request │ └── model │ │ ├── WxImage.java │ │ ├── WxVoice.java │ │ ├── TextMessage.java │ │ ├── MusicMessage.java │ │ ├── VoiceMessage.java │ │ ├── ImageMessage.java │ │ ├── NewsMessage.java │ │ ├── MediaMessage.java │ │ └── ModelMsgData.java │ ├── response │ └── model │ │ ├── AccessToken.java │ │ ├── WxMedia.java │ │ └── SendTemplateMassage.java │ └── content │ └── WeixinContent.java ├── weixin-rpc-user ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── user │ │ ├── enumType │ │ ├── SourceFrom.java │ │ ├── BehaviorType.java │ │ ├── Credit.java │ │ ├── TXType.java │ │ └── Sex.java │ │ └── entity │ │ ├── City.java │ │ ├── Country.java │ │ └── Province.java └── pom.xml ├── weixin-service-redis └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── cheng │ │ │ └── weixin │ │ │ └── service │ │ │ └── redis │ │ │ └── service │ │ │ └── redis │ │ │ └── Function.java │ └── resources │ │ ├── Redme.md │ │ ├── spring │ │ └── redis.properties │ │ └── log4j.properties │ └── test │ └── resources │ ├── redis.properties │ ├── log4j.properties │ └── spring-context.xml ├── weixin-rpc-log └── src │ └── main │ └── java │ └── com │ └── cheng │ └── weixin │ └── rpc │ └── log │ ├── enums │ └── LogType.java │ └── service │ └── RpcLogService.java ├── weixin-common-entity ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── common │ │ └── entity │ │ ├── id │ │ ├── package-info.java │ │ └── IdGen.java │ │ └── enums │ │ ├── Sex.java │ │ └── Status.java └── pom.xml ├── weixin-service-wxtools └── src │ └── main │ ├── resources │ ├── mybatis │ │ ├── mapper │ │ │ └── WxGroupMapper.xml │ │ └── mybatis-config.xml │ └── spring │ │ └── spring-dubbo-consumer.xml │ └── java │ └── com │ └── cheng │ └── weixin │ └── service │ └── wxtools │ ├── dao │ ├── WxMenuDaoMapper.java │ └── WxGroupDaoMapper.java │ └── service │ └── WxMenuService.java ├── weixin-common └── src │ └── main │ └── java │ └── com │ └── cheng │ └── weixin │ └── common │ ├── constant │ ├── Constant.java │ └── weixin │ │ └── WeixinFinalValue.java │ ├── utils │ ├── StringUtils.java │ ├── StringFormat.java │ └── SystemUtils.java │ ├── exception │ ├── ErrorEntity.java │ ├── BusinessException.java │ ├── MassageException.java │ └── WeixinException.java │ └── security │ └── CodecUtil.java ├── weixin-service-cart └── src │ ├── test │ ├── java │ │ └── com │ │ │ └── cheng │ │ │ └── weixin │ │ │ └── cart │ │ │ └── TestAll.java │ └── resources │ │ ├── log4j.properties │ │ └── spring-context.xml │ └── main │ └── resources │ ├── spring │ └── spring-dubbo-consumer.xml │ └── log4j.properties ├── weixin-service-log └── src │ ├── test │ └── resources │ │ ├── log4j.properties │ │ ├── mybatis-config.xml │ │ └── spring-context.xml │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── log │ │ ├── dao │ │ └── LogDaoMapper.java │ │ └── service │ │ └── LogMQService.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-service-item └── src │ ├── test │ ├── resources │ │ ├── log4j.properties │ │ ├── jdbc.properties │ │ └── spring-context.xml │ └── java │ │ └── com │ │ └── cheng │ │ └── item │ │ └── test │ │ └── TestAll.java │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── item │ │ └── dao │ │ ├── ProductTypeDaoMapper.java │ │ ├── ProductDaoMapper.java │ │ └── PictureDaoMapper.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-service-user └── src │ ├── test │ └── resources │ │ ├── log4j.properties │ │ └── spring-context.xml │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── user │ │ └── dao │ │ ├── CityDaoMapper.java │ │ ├── CountryDaoMapper.java │ │ ├── MemberDaoMapper.java │ │ ├── AccountDaoMapper.java │ │ ├── BehaviorDaoMapper.java │ │ ├── ProvinceDaoMapper.java │ │ ├── AccountLevelDaoMapper.java │ │ ├── ProductFocusDaoMapper.java │ │ ├── AccountUpgradeHistoryDaoMapper.java │ │ ├── CashRecordDaoMapper.java │ │ ├── DeliveryAddressDaoMapper.java │ │ ├── CouponRecordDaoMapper.java │ │ └── BonusPointRecordDaoMapper.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-rpc-system ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── system │ │ ├── entity │ │ ├── NoticeType.java │ │ ├── PictureResourceType.java │ │ ├── AdPosition.java │ │ └── AdJoinPosition.java │ │ └── service │ │ └── RpcSystemService.java └── pom.xml ├── weixin-service-admin └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── cheng │ │ │ └── weixin │ │ │ └── service │ │ │ └── admin │ │ │ └── dao │ │ │ ├── AdminRoleDaoMapper.java │ │ │ ├── AdminDaoMapper.java │ │ │ ├── RoleDaoMapper.java │ │ │ └── PermissionDaoMapper.java │ └── resources │ │ ├── mybatis │ │ └── mybatis-config.xml │ │ └── log4j.properties │ └── test │ └── java │ └── com │ └── cheng │ └── shrio │ └── passwd │ └── TestPssWd.java ├── weixin-service-order └── src │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── order │ │ └── dao │ │ ├── OrderReturnDaoMapper.java │ │ ├── RefundTypeDaoMapper.java │ │ ├── ReturnReasonDaoMapper.java │ │ ├── ReturnStatusDaoMapper.java │ │ ├── DeliveryTypeDaoMapper.java │ │ ├── OrderReturnDetailDaoMapper.java │ │ ├── ArayacakDeliveryTimeDaoMapper.java │ │ ├── TownDaoMapper.java │ │ ├── CityDaoMapper.java │ │ ├── PayDaoMapper.java │ │ ├── CountryDaoMapper.java │ │ ├── VillageDaoMapper.java │ │ ├── ProvinceDaoMapper.java │ │ ├── DeliveryTimeDaoMapper.java │ │ ├── FlowStatusDaoMapper.java │ │ ├── ArayacakAddressDaoMapper.java │ │ ├── OrderInfoDaoMapper.java │ │ └── OrderProductDetailDaoMapper.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-rpc-rabbitmq ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── rabbitmq │ │ └── service │ │ ├── RpcRabbitLogService.java │ │ └── RpcRabbitSmsService.java └── pom.xml ├── Redme.md ├── weixin-service-system └── src │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── system │ │ └── dao │ │ ├── NoticeDaoMapper.java │ │ ├── AdPositionDaoMapper.java │ │ ├── SystemParamDaoMapper.java │ │ ├── AdJoinPositionDaoMapper.java │ │ ├── NoticeTypeDaoMapper.java │ │ └── AdDaoMapper.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-service-promotion └── src │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── promotion │ │ └── dao │ │ ├── CouponDaoMapper.java │ │ ├── CouponCodeDaoMapper.java │ │ └── CouponHistoryDaoMapper.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-rpc-order ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── order │ │ ├── entity │ │ ├── City.java │ │ ├── Country.java │ │ ├── Village.java │ │ ├── Province.java │ │ ├── ReturnReason.java │ │ ├── ReturnStatus.java │ │ ├── DeliveryType.java │ │ ├── RefundType.java │ │ ├── ArayacakDeliveryTime.java │ │ ├── Town.java │ │ └── DeliveryTime.java │ │ └── enumType │ │ ├── OrderType.java │ │ ├── PayStatus.java │ │ ├── PayWay.java │ │ ├── FlowStatus.java │ │ └── OrderStatus.java └── pom.xml ├── weixin-rabbitmq-model ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rabbitmq │ │ └── enums │ │ └── MsgType.java └── pom.xml ├── weixin-rpc-comment ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── comment │ │ └── service │ │ └── RpcCommentService.java └── pom.xml ├── weixin-service-message └── src │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── message │ │ └── dao │ │ ├── EmailTemplateDaoMapper.java │ │ └── SmsTemplateDaoMapper.java │ └── resources │ └── mybatis │ └── mybatis-config.xml ├── weixin-rpc-redis └── pom.xml ├── weixin-common-service └── pom.xml ├── weixin-rpc-httpclient ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── cheng │ └── weixin │ └── rpc │ └── httpclient │ └── service │ └── RpcHttpClientService.java ├── weixin-service-rabbitmq └── src │ ├── test │ ├── java │ │ └── com │ │ │ └── cheng │ │ │ └── test │ │ │ ├── Foo.java │ │ │ └── UserModel.java │ └── resources │ │ ├── log4j.properties │ │ └── spring-context.xml │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── rabbitmq │ │ ├── RabbitLogService.java │ │ └── RabbitSmsService.java │ └── resources │ └── log4j.properties ├── weixin-service-comment └── src │ └── main │ ├── java │ └── com │ │ └── cheng │ │ └── weixin │ │ └── service │ │ └── comment │ │ ├── dao │ │ └── CommentDaoMapper.java │ │ └── service │ │ └── CommentService.java │ └── resources │ ├── mybatis │ └── mybatis-config.xml │ └── log4j.properties ├── weixin-rpc-item ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── item │ │ └── entity │ │ └── ProductType.java └── pom.xml ├── weixin-rpc-cart ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── cart │ │ └── model │ │ └── ProductModel.java └── pom.xml ├── weixin-rpc-promotion ├── src │ └── main │ │ └── java │ │ └── com │ │ └── cheng │ │ └── weixin │ │ └── rpc │ │ └── promotion │ │ ├── enums │ │ └── CouponType.java │ │ └── service │ │ └── RpcCouponService.java └── pom.xml ├── weixin-service-httpclient └── src │ └── main │ └── resources │ ├── httpClient.properties │ └── log4j.properties ├── weixin-rpc-admin ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── cheng │ └── weixin │ └── rpc │ └── admin │ └── entity │ ├── Permission.java │ └── RolePermission.java └── weixin-rpc-message └── pom.xml /weixin-service-timer/src/main/resources/config.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/xxbao.vp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/docs/xxbao.vp -------------------------------------------------------------------------------- /docs/电商平台框架-后台框架.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/docs/电商平台框架-后台框架.doc -------------------------------------------------------------------------------- /docs/电商-数据库详细设计说明书V0.4.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/docs/电商-数据库详细设计说明书V0.4.doc -------------------------------------------------------------------------------- /weixin-notify-pay/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/resources/globalconf.properties: -------------------------------------------------------------------------------- 1 | #\u5FAE\u4FE1\u57FA\u672C\u914D\u7F6E 2 | wxclient=weixin -------------------------------------------------------------------------------- /weixin-web-manage/src/main/resources/globalconf.properties: -------------------------------------------------------------------------------- 1 | #\u7BA1\u7406\u8DEF\u5F84 2 | adminPath=/a 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/test.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!--test

4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Test=====

4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/favicon.ico -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a1.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a2.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a3.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a4.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a5.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a6.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a7.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a8.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/a9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/a9.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/bg.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p1.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p2.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p3.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/pay.png -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/WEB-INF/views/test.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!-testq

4 | 5 |

${content}

6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/icons.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/index.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/index.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/user.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/html/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/html/favicon.ico -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/index_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/index_4.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/locked.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p_big1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p_big1.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p_big2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p_big2.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/p_big3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/p_big3.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/profile.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/progress.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/qr_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/qr_code.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/success.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/wenku_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/wenku_logo.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/drawCheckCode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/drawCheckCode.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/iconfont-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/iconfont-logo.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/profile_big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/profile_big.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/profile_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/profile_small.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/weixin_login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/weixin_login.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/hj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/hj.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/tb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/tb.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/tx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/tx.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/zm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/zm.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/loading-upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/loading-upload.gif -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/ad/swiper-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/ad/swiper-1.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/ad/swiper-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/ad/swiper-2.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/ad/swiper-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/ad/swiper-3.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/d-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/d-1.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/d-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/d-2.jpg -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/webapp/static/images/product/d-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-mobile/src/main/webapp/static/images/product/d-3.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/patterns/shattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/patterns/shattered.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/login-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/login-background.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/img/profile_small.bak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/img/profile_small.bak.jpg -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/iCheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/iCheck/green.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/patterns/header-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/patterns/header-profile.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/iCheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/iCheck/green@2x.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/images/sort_asc.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/blank.gif -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/error.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/images/sort_desc.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/images/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/images/spritemap.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.ttf -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1.zip -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Desc: 用于接受参数的封装 3 | * Author: cheng 4 | * Date: 2016/6/22 5 | */ 6 | package com.cheng.weixin.web.mobile.param; -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/loading.gif -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/images/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/images/spritemap@2x.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.woff -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/fontawesome-webfont93e3.woff2 -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/layim/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/layim/loading.gif -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Desc: 用于返回结果的封装 3 | * Author: cheng 4 | * Date: 2016/6/22 5 | */ 6 | package com.cheng.weixin.web.mobile.result; -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/patterns/header-profile-skin-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/patterns/header-profile-skin-1.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/patterns/header-profile-skin-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/patterns/header-profile-skin-3.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/play-pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/play-pause.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/video-play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/video-play.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/gritter.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/更新日志.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/更新日志.txt -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/chosen/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/chosen/chosen-sprite@2x.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.ttf -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footable.woff -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/images/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/images/sprite-skin-flat.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/ie-spacer.gif -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/security/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Desc: token的验证 主要用于AOP 3 | * Author: cheng 4 | * Date: 2016/6/22 5 | */ 6 | package com.cheng.weixin.web.mobile.security; -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footabled41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/footable/fonts/footabled41d.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regulard41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/fonts/glyphicons-halflings-regulard41d.eot -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/gritter/images/gritter-light.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #忽略的文件及文件夹 2 | target 3 | logs 4 | temp 5 | .idea 6 | *.iml 7 | 8 | jdbc.properties 9 | rabbitmq.properties 10 | system.properties 11 | redis.properties 12 | 13 | #rebel.xml 14 | #不忽略的文件 15 | !.gitignore 16 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/dahong/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/dahong/icon.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/molv/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/molv/icon.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/layDate官网.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://sentsin.com/layui/laydate/ 5 | IDList= 6 | HotKey=0 7 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate/skins/default/icon.png -------------------------------------------------------------------------------- /weixin-common-config/src/main/resources/rabbitmq.properties: -------------------------------------------------------------------------------- 1 | #RabbitMQ\u914D\u7F6E 2 | #rabbitmq.host=120.27.53.171 3 | rabbitmq.host=10.252.28.83 4 | rabbitmq.port=5672 5 | rabbitmq.username=weixin 6 | rabbitmq.password=weixin 7 | rabbitmq.vhost=/weixin -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/molv/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/molv/icon.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/dahong/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/dahong/icon.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/js/plugins/layer/laydate-v1.1/laydate/skins/default/icon.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/enums/MidiaType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.enums; 2 | /** 3 | * 媒体类型 4 | * @author Cheng 5 | * 6 | */ 7 | public enum MidiaType { 8 | image, 9 | voice, 10 | video, 11 | thumb; 12 | } 13 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhx76/Weixin-Dubbo/HEAD/weixin-web-manage/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /weixin-notify-pay/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/service/RpcWxMenuService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.service; 2 | 3 | 4 | /** 用户业务处理 5 | * Desc: 6 | * Author: Cheng 7 | * Date: 2016/1/28 0028 8 | */ 9 | public interface RpcWxMenuService { 10 | } 11 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/enumType/SourceFrom.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.enumType; 2 | 3 | /** 4 | * Desc: 来源 5 | * Author: cheng 6 | * Date: 2016/7/12 7 | */ 8 | public enum SourceFrom { 9 | NO, 10 | QQ, 11 | WEIXIN, 12 | SINAWEIBO; 13 | } 14 | -------------------------------------------------------------------------------- /weixin-service-redis/src/main/java/com/cheng/weixin/service/redis/service/redis/Function.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.redis.service.redis; 2 | 3 | /** 4 | * Desc: 5 | * Author: Cheng 6 | * Date: 2016/4/14 0014 7 | */ 8 | public interface Function { 9 | // T callback(E e); 10 | } 11 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/enumType/BehaviorType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.enumType; 2 | 3 | /** 4 | * Desc: 操作类型 积分 现金 券 5 | * Author: cheng 6 | * Date: 2016/6/3 7 | */ 8 | public enum BehaviorType { 9 | BONUSPOINT, 10 | CASH, 11 | TICKET; 12 | } 13 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/enums/MsgType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.enums; 2 | /** 3 | * 消息类型 4 | * @author Cheng 5 | * 6 | */ 7 | public enum MsgType { 8 | event, 9 | voice, 10 | image, 11 | shortvideo, 12 | location, 13 | link, 14 | text; 15 | } 16 | -------------------------------------------------------------------------------- /weixin-rpc-log/src/main/java/com/cheng/weixin/rpc/log/enums/LogType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.log.enums; 2 | 3 | /** 4 | * Desc: 日志类型 5 | * Author: Cheng 6 | * Date: 2016/3/23 0023 7 | */ 8 | public enum LogType { 9 | /** 接入日志 **/ 10 | ACCESS, 11 | /** 异常日志 **/ 12 | EXCEPTION; 13 | } 14 | -------------------------------------------------------------------------------- /weixin-service-redis/src/main/resources/Redme.md: -------------------------------------------------------------------------------- 1 | Redis启动方式 2 | [cheng@redis redis-3.0.7]$ pwd 3 | /usr/local/redis-3.0.7 4 | [cheng@redis redis-3.0.7]$ redis-server ./redis.conf 5 | [cheng@redis redis-3.0.7]$ redis-cli 6 | 127.0.0.1:6379> set "abc" "123" 7 | OK 8 | 127.0.0.1:6379> get "abc" 9 | "123" 10 | 127.0.0.1:6379> -------------------------------------------------------------------------------- /weixin-common-entity/src/main/java/com/cheng/common/entity/id/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Desc: id生成器 3 | * Author: cheng 4 | * Date: 2016/6/22 5 | */ 6 | package com.cheng.common.entity.id; 7 | /** 8 | * http://www.cnblogs.com/littlehb/p/3946097.html 9 | *http://www.blogjava.net/bolo/archive/2015/07/13/426200.html 10 | */ -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/entity/WxMenu.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 菜单实体 7 | * Author: Cheng 8 | * Date: 2016/1/29 0029 9 | */ 10 | public class WxMenu extends DataEntity { 11 | } 12 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/resources/mybatis/mapper/WxGroupMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/enumType/Credit.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.enumType; 2 | 3 | /** 4 | * Desc: 信用等级 划分为五个等级:良好、较好、一般、较差、差 5 | * Author: cheng 6 | * Date: 2016/6/3 7 | */ 8 | public enum Credit { 9 | WELL, 10 | GOOD, 11 | GENERAL, 12 | WORSE, 13 | POOR; 14 | } 15 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/entity/WxGroup.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 群组实体类 7 | * Author: Cheng 8 | * Date: 2016/1/29 0029 9 | */ 10 | public class WxGroup extends DataEntity { 11 | } 12 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/constant/Constant.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.constant; 2 | 3 | /** 4 | * Desc: 常量 5 | * Author: 光灿 6 | * Date: 2016/9/15 7 | */ 8 | public interface Constant { 9 | 10 | String CART = "CART_"; 11 | String CHOOSE = "TRUE_"; 12 | String NO_CHOOSE = "FALSE_"; 13 | } 14 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/video-play.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/security/TokenManager.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.security; 2 | 3 | /** 4 | * Desc: 令牌管理器 5 | * Author: cheng 6 | * Date: 2016/6/22 7 | */ 8 | public interface TokenManager { 9 | 10 | String createToken(String username); 11 | 12 | boolean checkToken(String token); 13 | } 14 | -------------------------------------------------------------------------------- /weixin-service-cart/src/test/java/com/cheng/weixin/cart/TestAll.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.cart; 2 | 3 | import org.junit.Test; 4 | 5 | /** 6 | * Desc: 7 | * Author: hp 8 | * Date: 2016/9/20 9 | */ 10 | public class TestAll { 11 | @Test 12 | public void test01() { 13 | System.out.println("TRUE_1".split("_")[0]); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weixin-service-log/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 8 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/security/IgnoreSecurity.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.security; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * Desc: 忽略安全性检查 7 | * Author: cheng 8 | * Date: 2016/6/21 9 | */ 10 | @Documented 11 | @Target(ElementType.METHOD) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface IgnoreSecurity { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-cart/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 8 | -------------------------------------------------------------------------------- /weixin-service-item/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 8 | -------------------------------------------------------------------------------- /weixin-service-user/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 8 | -------------------------------------------------------------------------------- /weixin-rpc-system/src/main/java/com/cheng/weixin/rpc/system/entity/NoticeType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.system.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc:公告资源类型 7 | * Author: 光灿 8 | * Date: 2016/6/18 9 | */ 10 | @Deprecated 11 | public class NoticeType extends DataEntity { 12 | private String name; 13 | private String type; 14 | } 15 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/webuploader/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 |

Forbidden

6 |

You don't have permission to access /theme/hplus/js/plugins/webuploader/ 7 | on this server.

8 |
9 |
Apache Server at www.zi-han.net Port 80
10 | 11 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=[CONSUMER] %p [%t] %c-<%L> %m%n 8 | 9 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-service-admin/src/main/java/com/cheng/weixin/service/admin/dao/AdminRoleDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.admin.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.admin.entity.AdminRole; 5 | 6 | /** 7 | * Desc: 管理员对应权限 8 | * Author: cheng 9 | * Date: 2016/5/25 10 | */ 11 | public interface AdminRoleDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/OrderReturnDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.OrderReturn; 5 | 6 | /** 7 | * Desc: 退单主 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface OrderReturnDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/RefundTypeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.RefundType; 5 | 6 | /** 7 | * Desc: 退款方式:微信零钱 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface RefundTypeDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-rpc-rabbitmq/src/main/java/com/cheng/weixin/rpc/rabbitmq/service/RpcRabbitLogService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.rabbitmq.service; 2 | 3 | /** 4 | * Desc: Rabbit接口 5 | * Author: Cheng 6 | * Date: 2016/4/25 0025 7 | */ 8 | public interface RpcRabbitLogService { 9 | String LOG = "WEIXIN-LOG"; 10 | /** 11 | * 保存日志 12 | * 13 | * @param obj 14 | */ 15 | void saveLogs(Object obj); 16 | } 17 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/ReturnReasonDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.ReturnReason; 5 | 6 | /** 7 | * Desc: 退货原因 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface ReturnReasonDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/ReturnStatusDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.ReturnStatus; 5 | 6 | /** 7 | * Desc: 退单状态 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface ReturnStatusDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-service-redis/src/test/resources/redis.properties: -------------------------------------------------------------------------------- 1 | #Redis\u914D\u7F6E 2 | redis.node1.host=120.27.53.171 3 | redis.node1.port=6767 4 | redis.node1.password=cheng#wx 5 | redis.maxTotal=50 6 | redis.maxIdle=100 7 | #redis.maxActive=300 8 | redis.maxWait=1000 9 | redis.testOnBorrow=true 10 | redis.timeout=100000 11 | redis.expiration=1000 12 | # \u6700\u5927\u8FDE\u63A5\u6570 13 | #redis.node1.host=192.168.1.109 14 | #redis.node1.port=6379 -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/ProductCategoryDto.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.param; 2 | 3 | /** 4 | * Desc: 商品类别 5 | * Author: hp 6 | * Date: 2016/9/9 7 | */ 8 | public class ProductCategoryDto { 9 | private String id; 10 | 11 | public String getId() { 12 | return id; 13 | } 14 | 15 | public void setId(String id) { 16 | this.id = id; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/DeliveryTypeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.DeliveryType; 5 | 6 | /** 7 | * Desc: 配送方式 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | @Deprecated 12 | public interface DeliveryTypeDaoMapper extends BaseDaoMapper { 13 | } 14 | -------------------------------------------------------------------------------- /weixin-service-redis/src/main/resources/spring/redis.properties: -------------------------------------------------------------------------------- 1 | #Redis\u914D\u7F6E 2 | redis.node1.host=10.252.28.83 3 | redis.node1.port=6767 4 | redis.node1.password=cheng#wx 5 | redis.maxTotal=50 6 | redis.maxIdle=100 7 | #redis.maxActive=300 8 | redis.maxWait=1000 9 | redis.testOnBorrow=true 10 | redis.timeout=100000 11 | redis.expiration=1000 12 | # \u6700\u5927\u8FDE\u63A5\u6570 13 | #redis.node1.host=192.168.1.109 14 | #redis.node1.port=6379 -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/OrderReturnDetailDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.OrderReturnDetail; 5 | 6 | /** 7 | * Desc: 退单子项 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface OrderReturnDetailDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/ArayacakDeliveryTimeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.ArayacakDeliveryTime; 5 | 6 | /** 7 | * Desc: 自提时间 8 | * Author: hp 9 | * Date: 2016/9/9 10 | */ 11 | public interface ArayacakDeliveryTimeDaoMapper extends BaseDaoMapper { 12 | } 13 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/enumType/TXType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.enumType; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/11/19 7 | */ 8 | public enum TXType { 9 | 10 | EARNING("收入"), 11 | EXPENSE("支出"); 12 | 13 | private String name; 14 | TXType(String name) { 15 | this.name = name; 16 | } 17 | 18 | public String getName() { 19 | return name; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/CityDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.City; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 城市 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface CityDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-common-entity/src/main/java/com/cheng/common/entity/enums/Sex.java: -------------------------------------------------------------------------------- 1 | package com.cheng.common.entity.enums; 2 | 3 | /** 4 | * Desc: 性别 5 | * Author: hp 6 | * Date: 2016/11/2 7 | */ 8 | public enum Sex { 9 | 10 | MAN("男士"), 11 | WOMAN("女士"), 12 | UNKNOW("未知"); 13 | 14 | private String name; 15 | 16 | Sex(String name) { 17 | this.name = name; 18 | } 19 | public String getName() { 20 | return name; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weixin-service-log/src/main/java/com/cheng/weixin/service/log/dao/LogDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.log.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.log.entity.Log; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 日志 9 | * Author: hp 10 | * Date: 2016/10/18 11 | */ 12 | @Repository 13 | public interface LogDaoMapper extends BaseDaoMapper { 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/TownDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.Town; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:镇 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface TownDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/blueimp/img/play-pause.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/enumType/Sex.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.enumType; 2 | 3 | /** 4 | * Desc: 性别 5 | * Author: hp 6 | * Date: 2016/11/2 7 | */ 8 | public enum Sex { 9 | 10 | MAN("男士"), 11 | WOMAN("女士"), 12 | UNKNOW("未知"); 13 | 14 | private String name; 15 | 16 | Sex(String name) { 17 | this.name = name; 18 | } 19 | public String getName() { 20 | return name; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/WxImage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | import java.io.Serializable; 4 | 5 | public class WxImage implements Serializable { 6 | private static final long serialVersionUID = 1L; 7 | private String MediaId; 8 | 9 | public String getMediaId() { 10 | return MediaId; 11 | } 12 | 13 | public void setMediaId(String mediaId) { 14 | MediaId = mediaId; 15 | } 16 | } -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/WxVoice.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | import java.io.Serializable; 4 | 5 | public class WxVoice implements Serializable { 6 | private static final long serialVersionUID = 1L; 7 | private String MediaId; 8 | 9 | public String getMediaId() { 10 | return MediaId; 11 | } 12 | 13 | public void setMediaId(String mediaId) { 14 | MediaId = mediaId; 15 | } 16 | } -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/CityDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.City; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:城市 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface CityDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/PayDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.Pay; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:微信支付,支付宝支付,货到付款 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface PayDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/CountryDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.Country; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 区县 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface CountryDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/MemberDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.Member; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 用户基础信息 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface MemberDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/CountryDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.Country; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:区县 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface CountryDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/VillageDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.Village; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:村庄 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface VillageDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/AccountDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.Account; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 用户基础信息 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface AccountDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/BehaviorDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.Behavior; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 用户基础信息 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface BehaviorDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/ProvinceDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.Province; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 省份 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface ProvinceDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/test/java/com/cheng/dubbo/consumer/test/TestDemo.java: -------------------------------------------------------------------------------- 1 | package com.cheng.dubbo.consumer.test; 2 | 3 | import java.util.Date; 4 | 5 | /** 6 | * Desc: 7 | * Author: 光灿 8 | * Date: 2017/1/29 9 | */ 10 | public class TestDemo { 11 | 12 | public static void main(String[] args) { 13 | System.out.println(System.currentTimeMillis()); 14 | Date date = new Date(1485619200000L); 15 | System.out.println(date); 16 | } 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /Redme.md: -------------------------------------------------------------------------------- 1 | ### Redis命令 2 | 打开客户端 3 | [root@cloud src]# redis-cli -p 6767 -a root#wx 4 | 5 | ### zookeeper命令 6 | 7 | 启动:$ ./zkCli.sh
8 | 查看节点:ls / 9 | 10 | 启动ZK服务: sh bin/zkServer.sh start
11 | 查看ZK服务状态: sh bin/zkServer.sh status
12 | 停止ZK服务: sh bin/zkServer.sh stop
13 | 重启ZK服务: sh bin/zkServer.sh restart
14 | 删除节点:
15 | 使用delete命令可以删除指定znode. 当该znode拥有子znode时, 必须先删除其所有子znode, 否则操作将失败. rmr命令可用于代替delete命令, rmr是一个递归删除命令, 如果发生指定节点拥有子节点时, rmr命令会首先删除子节点. 16 | 17 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/TextMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | /** 3 | * 文本消息 4 | * @author Cheng 5 | */ 6 | public class TextMessage extends BaseMessage { 7 | private static final long serialVersionUID = 1L; 8 | private String Content; 9 | 10 | public String getContent() { 11 | return Content; 12 | } 13 | public void setContent(String content) { 14 | Content = content; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/ProvinceDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.Province; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 支付方式:省 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface ProvinceDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/NoticeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.Notice; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 公告 9 | * Author: cheng 10 | * Date: 2016/6/29 11 | */ 12 | @Repository 13 | public interface NoticeDaoMapper extends BaseDaoMapper { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/MusicMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | /** 4 | * 音乐消息 5 | * @author Cheng 6 | */ 7 | public class MusicMessage extends BaseMessage { 8 | 9 | private static final long serialVersionUID = 1L; 10 | private WxMusic Music; 11 | 12 | public WxMusic getMusic() { 13 | return Music; 14 | } 15 | public void setMusic(WxMusic music) { 16 | this.Music = music; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/VoiceMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | /** 4 | * 语音消息 5 | * @author Cheng 6 | */ 7 | public class VoiceMessage extends BaseMessage { 8 | 9 | private static final long serialVersionUID = 1L; 10 | private WxVoice Voice; 11 | 12 | public WxVoice getVoice() { 13 | return Voice; 14 | } 15 | public void setVoice(WxVoice voice) { 16 | this.Voice = voice; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /weixin-service-promotion/src/main/java/com/cheng/weixin/service/promotion/dao/CouponDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.promotion.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.promotion.entity.Coupon; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 优惠券 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface CouponDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/AdPositionDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.AdPosition; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 9 | * Author: cheng 10 | * Date: 2016/6/29 11 | */ 12 | @Repository 13 | public interface AdPositionDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/java/com/cheng/weixin/service/wxtools/dao/WxMenuDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.wxtools.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.wxtools.entity.WxMenu; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 菜单Dao 9 | * Author: Cheng 10 | * Date: 2016/1/29 0029 11 | */ 12 | @Repository 13 | public interface WxMenuDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/City.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 市 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class City extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/entity/City.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 城市 7 | * Author: cheng 8 | * Date: 2016/6/3 9 | */ 10 | public class City extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/ImageMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | /** 4 | * 图片消息 5 | * @author Cheng 6 | */ 7 | public class ImageMessage extends BaseMessage { 8 | 9 | private static final long serialVersionUID = 1L; 10 | private WxImage Image; 11 | 12 | public WxImage getImage() { 13 | return Image; 14 | } 15 | public void setImage(WxImage image) { 16 | this.Image = image; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /weixin-service-item/src/main/java/com/cheng/weixin/service/item/dao/ProductTypeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.item.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.item.entity.ProductType; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 商品类型 9 | * Author: cheng 10 | * Date: 2016/6/28 11 | */ 12 | @Repository 13 | public interface ProductTypeDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/DeliveryTimeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.DeliveryTime; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 配送时间 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface DeliveryTimeDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/FlowStatusDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.FlowStatus; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 流程状态 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface FlowStatusDaoMapper extends BaseDaoMapper { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/AccountLevelDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.AccountLevel; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 账户等级 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface AccountLevelDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/ProductFocusDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.ProductFocus; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 关注商品 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface ProductFocusDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/java/com/cheng/weixin/service/wxtools/dao/WxGroupDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.wxtools.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.wxtools.entity.WxGroup; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 群组Dao 9 | * Author: Cheng 10 | * Date: 2016/1/29 0029 11 | */ 12 | @Repository 13 | public interface WxGroupDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-rabbitmq-model/src/main/java/com/cheng/weixin/rabbitmq/enums/MsgType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rabbitmq.enums; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/11/20 7 | */ 8 | public enum MsgType { 9 | VALIDATE("验证码"), 10 | NOTICE_CASH_COMSUME("现金消费"), 11 | ACTIVITY("活动"); 12 | 13 | private String name; 14 | MsgType(String name) { 15 | this.name = name; 16 | } 17 | 18 | public String getName() { 19 | return name; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-comment/src/main/java/com/cheng/weixin/rpc/comment/service/RpcCommentService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.comment.service; 2 | 3 | import com.cheng.weixin.rpc.comment.entity.Comment; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Desc: 评论 9 | * Author: hp 10 | * Date: 2016/10/8 11 | */ 12 | public interface RpcCommentService { 13 | /** 14 | * 获取该商品的评论 15 | * @param productId 16 | * @return 17 | */ 18 | List getByProductId(String productId); 19 | } 20 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/Country.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 市区县 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class Country extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/Village.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 村庄 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class Village extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/entity/Country.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 区县 7 | * Author: cheng 8 | * Date: 2016/6/3 9 | */ 10 | public class Country extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-service-promotion/src/main/java/com/cheng/weixin/service/promotion/dao/CouponCodeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.promotion.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.promotion.entity.CouponCode; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 优惠券 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface CouponCodeDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/SystemParamDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.SystemParam; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 系统参数 9 | * Author: cheng 10 | * Date: 2016/6/29 11 | */ 12 | @Repository 13 | public interface SystemParamDaoMapper extends BaseDaoMapper { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/Province.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 省 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class Province extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-user/src/main/java/com/cheng/weixin/rpc/user/entity/Province.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.user.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 省份 7 | * Author: cheng 8 | * Date: 2016/6/3 9 | */ 10 | public class Province extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-service-item/src/test/resources/jdbc.properties: -------------------------------------------------------------------------------- 1 | # JDBC 2 | jdbc.driverClassName=com.mysql.jdbc.Driver 3 | jdbc.url=jdbc:mysql://120.27.53.171:3306/weixin?useUnicode=true&characterEncoding=utf-8 4 | jdbc.username=root 5 | jdbc.password=cheng#wx 6 | #\u8FDE\u63A5\u6C60\u914D\u7F6E 7 | jdbc.maxActive=20 8 | jdbc.initialSize=1 9 | jdbc.maxWait=60000 10 | jdbc.maxIdle=20 11 | jdbc.minIdle=3 12 | jdbc.removeAbandoned=true 13 | jdbc.removeAbandonedTimeout=180 14 | jdbc.connectionProperties=clientEncoding=UTF-8 15 | -------------------------------------------------------------------------------- /weixin-service-message/src/main/java/com/cheng/weixin/service/message/dao/EmailTemplateDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.message.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.message.entity.EmailTemplate; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 邮箱模板 9 | * Author: 光灿 10 | * Date: 2016/7/10 11 | */ 12 | @Repository 13 | public interface EmailTemplateDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/ArayacakAddressDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.ArayacakAddress; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 自提地点 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface ArayacakAddressDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/AdJoinPositionDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.AdJoinPosition; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 9 | * Author: cheng 10 | * Date: 2016/6/29 11 | */ 12 | @Repository 13 | public interface AdJoinPositionDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} 3 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/constant/weixin/WeixinFinalValue.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.constant.weixin; 2 | 3 | import org.springframework.beans.factory.annotation.Value; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class WeixinFinalValue { 8 | 9 | @Value("${weixin.token}") 10 | public String WX_TOKEN; 11 | @Value("${weixin.appid}") 12 | public String APPID; 13 | @Value("${weixin.appsecret}") 14 | public String APPSECRET; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/enumType/OrderType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.enumType; 2 | 3 | /** 4 | * Desc: 订单类型 正常-退货-返回换货 5 | * Author: cheng 6 | * Date: 2016/6/6 7 | */ 8 | public enum OrderType { 9 | NORMAL("正常"), 10 | RETURN("退货"), 11 | RETURN_EXCHANGE("返回换货"); 12 | 13 | private String name; 14 | 15 | OrderType(String name) { 16 | this.name = name; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | } -------------------------------------------------------------------------------- /weixin-service-promotion/src/main/java/com/cheng/weixin/service/promotion/dao/CouponHistoryDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.promotion.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.promotion.entity.CouponHistory; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 优惠券 9 | * Author: hp 10 | * Date: 2016/9/9 11 | */ 12 | @Repository 13 | public interface CouponHistoryDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/NoticeTypeDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.Notice; 5 | import com.cheng.weixin.rpc.system.entity.NoticeType; 6 | 7 | /** 8 | * Desc: 公告类型 9 | * Author: cheng 10 | * Date: 2016/6/29 11 | */ 12 | //@Repository 13 | @Deprecated 14 | public interface NoticeTypeDaoMapper extends BaseDaoMapper { 15 | } 16 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/utils/StringUtils.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.utils; 2 | 3 | /** 4 | * Author: Cheng 5 | * Date: 2016/1/27 0027 6 | */ 7 | public class StringUtils extends org.apache.commons.lang3.StringUtils { 8 | /** 9 | * 隐藏手机号 中间六位 10 | * @param phone 11 | * @return 12 | */ 13 | public static String hidePhone(String phone) { 14 | return substring(phone, 0, 3) + "******" + substring(phone, phone.length()-2, phone.length()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/ReturnReason.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 退货原因 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | public class ReturnReason extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/ReturnStatus.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 退单状态 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | public class ReturnStatus extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/enumType/PayStatus.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.enumType; 2 | 3 | /** 4 | * Desc: 到付 未付款 已付款 5 | * Author: cheng 6 | * Date: 2016/6/6 7 | */ 8 | @Deprecated 9 | public enum PayStatus { 10 | FREIGHT_COLLECT("到付"), 11 | NONPAYMENT("未付款"), 12 | PAID("已付款"); 13 | 14 | private String name; 15 | 16 | PayStatus(String name) { 17 | this.name = name; 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | } -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/enums/Event.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.enums; 2 | /** 3 | * 事件类型 4 | * @author Cheng 5 | * 6 | */ 7 | public enum Event { 8 | CLICK, 9 | VIEW, 10 | subscribe, 11 | unsubscribe, 12 | SCAN, 13 | LOCATION, 14 | 15 | click, 16 | view, 17 | scancode_push, 18 | scancode_waitmsg, 19 | pic_sysphoto, 20 | pic_photo_or_album, 21 | pic_weixin, 22 | location_select, 23 | media_id, 24 | view_limited, 25 | 26 | TEMPLATESENDJOBFINISH; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/ProductListDto.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.param; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Desc: 7 | * Author: 光灿 8 | * Date: 2016/11/25 9 | */ 10 | public class ProductListDto { 11 | private List products; 12 | 13 | public List getProducts() { 14 | return products; 15 | } 16 | 17 | public void setProducts(List products) { 18 | this.products = products; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-service-item/src/test/java/com/cheng/item/test/TestAll.java: -------------------------------------------------------------------------------- 1 | package com.cheng.item.test; 2 | 3 | /** 4 | * Desc: 5 | * Author: hp 6 | * Date: 2016/10/31 7 | */ 8 | //@RunWith(SpringJUnit4ClassRunner.class) 9 | //@ContextConfiguration(locations = {"classpath*:spring-context.xml"}) 10 | public class TestAll { 11 | //@Autowired 12 | //private ProductService productService; 13 | // 14 | //@Test 15 | //public void test01() { 16 | // productService.getShowPictureByProductId("1"); 17 | //} 18 | 19 | } 20 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/AccountUpgradeHistoryDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.AccountUpgradeHistory; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 账户升级历史 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface AccountUpgradeHistoryDaoMapper extends BaseDaoMapper { 14 | } 15 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/demo/peity-demo.min.js: -------------------------------------------------------------------------------- 1 | $(function(){$("span.pie").peity("pie",{fill:["#1ab394","#d7d7d7","#ffffff"]}),$(".line").peity("line",{fill:"#1ab394",stroke:"#169c81"}),$(".bar").peity("bar",{fill:["#1ab394","#d7d7d7"]}),$(".bar_dashboard").peity("bar",{fill:["#1ab394","#d7d7d7"],width:100});var i=$(".updating-chart").peity("line",{fill:"#1ab394",stroke:"#169c81",width:64});setInterval(function(){var t=Math.round(10*Math.random()),a=i.text().split(",");a.shift(),a.push(t),i.text(a.join(",")).change()},1e3)}); 2 | -------------------------------------------------------------------------------- /weixin-common-entity/src/main/java/com/cheng/common/entity/enums/Status.java: -------------------------------------------------------------------------------- 1 | package com.cheng.common.entity.enums; 2 | 3 | /** 4 | * Author: Cheng 5 | * Date: 2016/1/28 0028 6 | */ 7 | public enum Status { 8 | NORMAL(1, "正常"), 9 | AUDIT(2, "审核"), 10 | LOCKED(3, "锁定"), 11 | DELETE(4, "删除"), 12 | ENABLE(5, "激活"), 13 | UNENABLE(5, "未激活"); 14 | 15 | public int code; 16 | public String name; 17 | Status(int code, String name) { 18 | this.code = code; 19 | this.name = name; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-common-entity/src/main/java/com/cheng/common/entity/id/IdGen.java: -------------------------------------------------------------------------------- 1 | package com.cheng.common.entity.id; 2 | 3 | import java.util.UUID; 4 | 5 | /** 6 | * Desc: 封装各种生成唯一性ID算法的工具类 7 | * Author: 光灿 8 | * Date: 2016/2/27 9 | */ 10 | public class IdGen { 11 | 12 | //private static SecureRandom random = new SecureRandom(); 13 | 14 | /** 15 | * 封装JDK自带的UUID,中间无-分割 16 | * @return 17 | */ 18 | public static String uuid() { 19 | return UUID.randomUUID().toString().replaceAll("-", ""); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/DeliveryType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 配送方式:上门自提;第三方运输 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | @Deprecated 11 | public class DeliveryType extends DataEntity { 12 | private String name; 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public void setName(String name) { 19 | this.name = name; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/RefundType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 退款方式:微信零钱 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | public class RefundType extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public RefundType setName(String name) { 18 | this.name = name; 19 | return this; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/NewsMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 图文消息 7 | * @author Cheng 8 | */ 9 | public class NewsMessage extends BaseMessage { 10 | 11 | private static final long serialVersionUID = 1L; 12 | private List Articles; 13 | 14 | public List getArticles() { 15 | return Articles; 16 | } 17 | public void setArticles(List articles) { 18 | this.Articles = articles; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/enumType/PayWay.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.enumType; 2 | 3 | /** 4 | * Desc: 支付类型:在线,到付 5 | * Author: hp 6 | * Date: 2016/9/12 7 | */ 8 | public enum PayWay { 9 | ONLINE("在线"), 10 | OFFLINE("线下"); 11 | 12 | private String name; 13 | 14 | PayWay(String name) { 15 | this.name = name; 16 | } 17 | 18 | public String getName() { 19 | return name; 20 | } 21 | 22 | public void setName(String name) { 23 | this.name = name; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weixin-rpc-redis/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-redis 13 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-common-config/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-common-config 13 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-common-service/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-common-service 13 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-rpc-httpclient/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-httpclient 13 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/exception/ErrorEntity.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.exception; 2 | 3 | /** 4 | * 错误消息 包装类 5 | * @author Cheng 6 | */ 7 | public class ErrorEntity { 8 | 9 | private String errcode; 10 | private String errmsg; 11 | 12 | public String getErrcode() { 13 | return errcode; 14 | } 15 | public void setErrcode(String errcode) { 16 | this.errcode = errcode; 17 | } 18 | public String getErrmsg() { 19 | return errmsg; 20 | } 21 | public void setErrmsg(String errmsg) { 22 | this.errmsg = errmsg; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/WEB-INF/tags/captcha.tag: -------------------------------------------------------------------------------- 1 | <%@ tag language="java" pageEncoding="UTF-8"%> 2 | <%@ attribute name="name" type="java.lang.String" required="true" description="验证码输入框的名称"%> 3 | 4 |
5 | 6 | 7 |
-------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/ArayacakDeliveryTime.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc:自提配送时间 7 | * Author: 光灿 8 | * Date: 2016/6/18 9 | */ 10 | public class ArayacakDeliveryTime extends DataEntity { 11 | private String name; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public ArayacakDeliveryTime setName(String name) { 18 | this.name = name; 19 | return this; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/enums/Status.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.enums; 2 | 3 | public enum Status { 4 | /** 成功 **/ 5 | SUCCESS("success"), 6 | /** 用户拒收 **/ 7 | USER_BLOCK("failed:user block"), 8 | /** 系统错误 **/ 9 | SYSTEM_FAILED("failed: system failed"); 10 | 11 | private String name; 12 | 13 | private Status() { 14 | } 15 | private Status(String name) { 16 | this.name = name; 17 | } 18 | public String getName() { 19 | return name; 20 | } 21 | public void setName(String name) { 22 | this.name = name; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/java/com/cheng/weixin/service/wxtools/service/WxMenuService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.wxtools.service; 2 | 3 | 4 | import com.cheng.weixin.rpc.wxtools.service.RpcWxMenuService; 5 | import org.springframework.stereotype.Component; 6 | 7 | /** 8 | * Desc: 菜单业务层 9 | * Author: Cheng 10 | * Date: 2016/1/29 0029 11 | */ 12 | @Component("wxMenuService") 13 | public class WxMenuService implements RpcWxMenuService { 14 | 15 | 16 | 17 | //@Override 18 | //public BaseDaoMapper getBaseDao() { 19 | // return menuDao; 20 | //} 21 | } 22 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/resources/rebel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/resources/rebel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/java/com/cheng/weixin/service/system/dao/AdDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.system.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.system.entity.Ad; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 11 | * Author: cheng 12 | * Date: 2016/6/29 13 | */ 14 | @Repository 15 | public interface AdDaoMapper extends BaseDaoMapper { 16 | /** 17 | * 获取首页的广告图片 18 | * @return 19 | */ 20 | List loadIndexAds(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/Town.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 镇 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class Town extends DataEntity { 11 | private String name; 12 | 13 | public Town() { 14 | } 15 | public Town(String id) { 16 | super.id = id; 17 | } 18 | public String getName() { 19 | return name; 20 | } 21 | 22 | public void setName(String name) { 23 | this.name = name; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weixin-common-config/src/main/resources/jdbc.properties: -------------------------------------------------------------------------------- 1 | # JDBC 2 | jdbc.driverClassName=com.mysql.jdbc.Driver 3 | #jdbc.url=jdbc:mysql://10.252.28.83:3306/weixin?useUnicode=true&characterEncoding=utf-8 4 | jdbc.url=jdbc:mysql://120.27.53.171:3306/weixin?useUnicode=true&characterEncoding=utf-8 5 | jdbc.username=root 6 | jdbc.password=cheng#wx 7 | #\u8FDE\u63A5\u6C60\u914D\u7F6E 8 | jdbc.maxActive=20 9 | jdbc.initialSize=1 10 | jdbc.maxWait=60000 11 | jdbc.maxIdle=20 12 | jdbc.minIdle=3 13 | jdbc.removeAbandoned=true 14 | jdbc.removeAbandonedTimeout=180 15 | jdbc.connectionProperties=clientEncoding=UTF-8 16 | -------------------------------------------------------------------------------- /weixin-service-admin/src/test/java/com/cheng/shrio/passwd/TestPssWd.java: -------------------------------------------------------------------------------- 1 | package com.cheng.shrio.passwd; 2 | 3 | 4 | /** 5 | * Desc: 6 | * Author: Cheng 7 | * Date: 2016/1/29 0029 8 | */ 9 | public class TestPssWd { 10 | 11 | //public static void main(String[] args) { 12 | // System.out.println(new Md5Hash("cheng123","123").toHex()); 13 | //} 14 | 15 | public static void main(String[] args) { 16 | // entryptPassword("cheng123"); 17 | // System.out.println(SystemUtils.validatePassword("cheng123", "5cdefe986d7fa0d363930c4062b776bd30a33a3cec47a34291a8bd27")); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /weixin-service-message/src/main/java/com/cheng/weixin/service/message/dao/SmsTemplateDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.message.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.message.entity.SmsTemplate; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 短信模板 9 | * Author: 光灿 10 | * Date: 2016/7/10 11 | */ 12 | @Repository 13 | public interface SmsTemplateDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 获取正在使用的模板 16 | * @return 17 | */ 18 | SmsTemplate loadRegTemp(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-system/src/main/java/com/cheng/weixin/rpc/system/entity/PictureResourceType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.system.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 图片资源类型:现在就首页的图片 7 | * Author: 光灿 8 | * Date: 2016/6/17 9 | */ 10 | @Deprecated 11 | public class PictureResourceType extends DataEntity { 12 | private String name; 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public PictureResourceType setName(String name) { 19 | this.name = name; 20 | return this; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-system/src/main/java/com/cheng/weixin/rpc/system/service/RpcSystemService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.system.service; 2 | 3 | import com.cheng.weixin.rpc.system.entity.Ad; 4 | import com.cheng.weixin.rpc.system.entity.Notice; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * Desc: 广告 10 | * Author: cheng 11 | * Date: 2016/6/29 12 | */ 13 | public interface RpcSystemService { 14 | /** 15 | * 获取首页的图片 16 | * @return 17 | */ 18 | List getIndexAds(); 19 | 20 | /** 21 | * 获取首页的公告 22 | * @return 23 | */ 24 | List getIndexNotices(); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/test/java/com/cheng/test/Foo.java: -------------------------------------------------------------------------------- 1 | package com.cheng.test; 2 | 3 | import org.springframework.amqp.core.Message; 4 | import org.springframework.amqp.core.MessageListener; 5 | 6 | /** 7 | * Desc: 消费者 8 | * Author: Cheng 9 | * Date: 2016/4/22 0022 10 | */ 11 | public class Foo implements MessageListener { 12 | // 具体的执行业务 13 | public void listen(Object foo) { 14 | System.out.println("消费者===> "+foo); 15 | } 16 | 17 | @Override 18 | public void onMessage(Message message) { 19 | System.out.println("data ==> "+new String(message.getBody())); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/security/LocalUser.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.security; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/11/20 7 | */ 8 | public class LocalUser { 9 | private static ThreadLocal userThreadLocal = new ThreadLocal<>(); 10 | 11 | public static User getUser() { 12 | return userThreadLocal.get(); 13 | } 14 | 15 | public static void setUser(User user) { 16 | userThreadLocal.set(user); 17 | } 18 | 19 | public static void removeUser() { 20 | userThreadLocal.remove(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/enumType/FlowStatus.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.enumType; 2 | 3 | /** 4 | * Desc: 派送状态 5 | * Author: hp 6 | * Date: 2016/11/10 7 | */ 8 | @Deprecated 9 | public enum FlowStatus { 10 | COD("货到付款"), 11 | UNPAID("未付款"), 12 | PAID("已付款"), 13 | PICKING("拣货中"), 14 | DISTRIBUTION("配送中"), 15 | DELIVER("派件中"), 16 | DELIVERED("已送达"); 17 | 18 | private String name; 19 | FlowStatus(String name) { 20 | this.name = name; 21 | } 22 | 23 | public String getName() { 24 | return name; 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/CashRecordDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.CashRecord; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 用户基础信息 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface CashRecordDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 获取最新的一条现金记录 16 | * @return 17 | */ 18 | CashRecord loadNewByUser(CashRecord cashRecord); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/MediaMessage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | /** 4 | * 语音消息 5 | * @author Cheng 6 | */ 7 | public class MediaMessage extends BaseMessage { 8 | 9 | private static final long serialVersionUID = 1L; 10 | private com.cheng.weixin.rpc.wxtools.response.model.WxMedia Media; 11 | 12 | public com.cheng.weixin.rpc.wxtools.response.model.WxMedia getMedia() { 13 | return Media; 14 | } 15 | public void setMedia(com.cheng.weixin.rpc.wxtools.response.model.WxMedia media) { 16 | this.Media = media; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /weixin-service-comment/src/main/java/com/cheng/weixin/service/comment/dao/CommentDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.comment.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.comment.entity.Comment; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 评论 9 | * Author: hp 10 | * Date: 2016/10/8 11 | */ 12 | @Repository 13 | public interface CommentDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 获取商品的评论 16 | * @param comment 17 | * @return 18 | */ 19 | //List getByProductId(Comment comment); 20 | } 21 | -------------------------------------------------------------------------------- /weixin-service-admin/src/main/java/com/cheng/weixin/service/admin/dao/AdminDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.admin.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.admin.entity.Admin; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 管理员mapper 9 | * Author: Cheng 10 | * Date: 2016/1/28 0028 11 | */ 12 | @Repository 13 | public interface AdminDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 根据用户名获取用户信息 16 | * @param username 17 | * @return 18 | */ 19 | // Admin loadUserByUsername(String username); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /weixin-rpc-item/src/main/java/com/cheng/weixin/rpc/item/entity/ProductType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.item.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 商品类型 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | public class ProductType extends DataEntity { 11 | private String name; 12 | 13 | public ProductType() {} 14 | 15 | public ProductType(String id) { 16 | this.id = id; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/DeliveryAddressDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.DeliveryAddress; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 配送地址 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface DeliveryAddressDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 获取默认的配送地址 16 | * @return 17 | */ 18 | //DeliveryAddress loadDefaultAddress( DeliveryAddress address); 19 | } 20 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/entity/DeliveryTime.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 配送时间 7 | * Author: cheng 8 | * Date: 2016/6/6 9 | */ 10 | public class DeliveryTime extends DataEntity { 11 | private String name; 12 | 13 | public DeliveryTime() { 14 | } 15 | 16 | public DeliveryTime(String id) { 17 | super.id = id; 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | } -------------------------------------------------------------------------------- /weixin-rpc-rabbitmq/src/main/java/com/cheng/weixin/rpc/rabbitmq/service/RpcRabbitSmsService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.rabbitmq.service; 2 | 3 | /** 4 | * Desc: Rabbit接口 5 | * Author: Cheng 6 | * Date: 2016/4/25 0025 7 | */ 8 | public interface RpcRabbitSmsService { 9 | 10 | String VALIDATE = "SMS-VALIDATE"; 11 | String NOTICE = "SMS-NOTICE"; 12 | String ACTIVITY = "SMS-ACTIVITY"; 13 | 14 | /** 15 | * 发送注册短消息 16 | * @param msgData 17 | */ 18 | void sendValidate(Object msgData); 19 | 20 | /** 21 | * 现金通知 22 | * @param msgData 23 | */ 24 | void sendCashNotify(Object msgData); 25 | } 26 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/utils/StringFormat.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.utils; 2 | 3 | import java.math.BigDecimal; 4 | import java.text.DecimalFormat; 5 | 6 | /** 7 | * Desc: BigDecimal格式化 8 | * Author: 光灿 9 | * Date: 2016/6/28 10 | */ 11 | public class StringFormat { 12 | /** 13 | * 保留一位小数 14 | * @param value 15 | * @return 16 | */ 17 | public static String format(BigDecimal value) { 18 | DecimalFormat format=new DecimalFormat("0.0"); 19 | return format.format(value); 20 | } 21 | 22 | //product.getSalePrice().setScale(2, BigDecimal.ROUND_HALF_UP).toString() 23 | } 24 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/response/model/AccessToken.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.response.model; 2 | /** 3 | * 动态Token 4 | * @author Cheng 5 | */ 6 | public class AccessToken { 7 | private String access_token; 8 | private String expires_in; 9 | 10 | public String getAccess_token() { 11 | return access_token; 12 | } 13 | public void setAccess_token(String access_token) { 14 | this.access_token = access_token; 15 | } 16 | public String getExpires_in() { 17 | return expires_in; 18 | } 19 | public void setExpires_in(String expires_in) { 20 | this.expires_in = expires_in; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /weixin-service-admin/src/main/java/com/cheng/weixin/service/admin/dao/RoleDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.admin.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.admin.entity.Role; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 角色mapper 11 | * Author: Cheng 12 | * Date: 2016/1/28 0028 13 | */ 14 | @Repository 15 | public interface RoleDaoMapper extends BaseDaoMapper { 16 | /** 17 | * 根据管理员ID获取角色 18 | * @param adminId 19 | * @return 20 | */ 21 | List loadByAdminId(String adminId); 22 | } 23 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/WEB-INF/include/taglibs.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" %> 2 | <%@ page language="java" pageEncoding="utf-8" %> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 4 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 5 | <%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%> 6 | 7 | <%@ taglib prefix="sys" tagdir="/WEB-INF/tags" %> 8 | 9 | 10 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/CouponRecordDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.CouponRecord; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 记录券的收支情况 9 | * Author: cheng 10 | * Date: 2016/7/7 11 | */ 12 | @Repository 13 | public interface CouponRecordDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 根据用户获取券记录 16 | * @param couponRecord 17 | * @return 18 | */ 19 | CouponRecord loadByUser(CouponRecord couponRecord); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/cart/ProductInfoComparator.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.cart; 2 | 3 | import java.util.Comparator; 4 | 5 | /** 6 | * Desc: 7 | * Author: 光灿 8 | * Date: 2016/11/13 9 | */ 10 | public class ProductInfoComparator implements Comparator { 11 | @Override 12 | public int compare(ProductInfo product1, ProductInfo product2) { 13 | if (product1.isStock()==product2.isStock()) { 14 | return 0; 15 | }else if (product1.isStock()) { 16 | return -1; 17 | }else { 18 | return 1; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/resources/ehcache/ehcache.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /weixin-rpc-cart/src/main/java/com/cheng/weixin/rpc/cart/model/ProductModel.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.cart.model; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * Desc: 7 | * Author: 光灿 8 | * Date: 2016/9/15 9 | */ 10 | public class ProductModel implements Serializable { 11 | private String id; 12 | private int count; 13 | 14 | public String getId() { 15 | return id; 16 | } 17 | 18 | public void setId(String id) { 19 | this.id = id; 20 | } 21 | 22 | public int getCount() { 23 | return count; 24 | } 25 | 26 | public void setCount(int count) { 27 | this.count = count; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/service/RpcMessageHandleService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.service; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | import java.util.Map; 5 | 6 | /** 7 | * Desc: 消息处理 8 | * Author: Cheng 9 | * Date: 2016/4/7 0007 10 | */ 11 | public interface RpcMessageHandleService { 12 | /** 13 | * 把XML转换程Map对象 14 | * @param request 15 | * @return 16 | */ 17 | Map reqMsg2Map(HttpServletRequest request); 18 | /** 19 | * 微信消息处理入口 20 | * @param msgMap 21 | * @return 22 | */ 23 | String handleResp(Map msgMap); 24 | } 25 | -------------------------------------------------------------------------------- /weixin-service-log/src/main/java/com/cheng/weixin/service/log/service/LogMQService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.log.service; 2 | 3 | import com.cheng.weixin.service.log.dao.LogDaoMapper; 4 | import org.slf4j.Logger; 5 | import org.slf4j.LoggerFactory; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | 8 | /** 9 | * Desc: MQ实现保存日志 10 | * Author: Cheng 11 | * Date: 2016/4/25 0025 12 | */ 13 | 14 | public class LogMQService { 15 | 16 | private static final Logger LOGGER = LoggerFactory.getLogger(LogMQService.class); 17 | @Autowired 18 | private LogDaoMapper logDao; 19 | 20 | public void saveLogs() { 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/LoginDto.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.param; 2 | 3 | /** 4 | * Desc: 登陆参数封装 5 | * Author: 光灿 6 | * Date: 2016/8/17 7 | */ 8 | public class LoginDto { 9 | private String username; 10 | private String password; 11 | 12 | public String getUsername() { 13 | return username; 14 | } 15 | 16 | public void setUsername(String username) { 17 | this.username = username; 18 | } 19 | 20 | public String getPassword() { 21 | return password; 22 | } 23 | 24 | public void setPassword(String password) { 25 | this.password = password; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /weixin-service-admin/src/main/java/com/cheng/weixin/service/admin/dao/PermissionDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.admin.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.admin.entity.Permission; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 资源权限mapper 11 | * Author: Cheng 12 | * Date: 2016/1/28 0028 13 | */ 14 | @Repository 15 | public interface PermissionDaoMapper extends BaseDaoMapper { 16 | /** 17 | * 根据管理员ID获取所属权限 18 | * @param adminId 19 | * @return 20 | */ 21 | List loadByAdminId(String adminId); 22 | } 23 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/OrderInfoDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.OrderInfo; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 订单 11 | * Author: hp 12 | * Date: 2016/9/9 13 | */ 14 | @Repository 15 | public interface OrderInfoDaoMapper extends BaseDaoMapper { 16 | /** 17 | * 获取该用户订单 18 | * @param orderInfo 19 | * @return 20 | */ 21 | List loadByUserIdOrderByCreateDate(OrderInfo orderInfo); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /weixin-rpc-promotion/src/main/java/com/cheng/weixin/rpc/promotion/enums/CouponType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.promotion.enums; 2 | 3 | /** 4 | * Desc: 券类型 5 | * 红包、现金券、免运费券、折扣券 6 | * Author: cheng 7 | * Date: 2016/6/17 8 | */ 9 | public enum CouponType { 10 | 11 | 12 | LUCKYMONEY("红包券"), // 只有红包券才是满减券-- 红包券不需要指定商品ID || 现在只完成了一个 13 | FREE_SHIPPING("免运费券"), 14 | CASH("现金券"), 15 | DISCOUNT("折扣券"); 16 | private String name; 17 | CouponType(String name) { 18 | this.name = name; 19 | } 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public void setName(String name) { 26 | this.name = name; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /weixin-service-httpclient/src/main/resources/httpClient.properties: -------------------------------------------------------------------------------- 1 | #\u8BBE\u7F6E\u6700\u5927\u8FDE\u63A5\u6570 2 | httpClient.maxTotal=200 3 | #\u8BBE\u7F6E\u6BCF\u4E2A\u4E3B\u673A\u5730\u5740\u7684\u5E76\u53D1\u6570 4 | httpClient.defaultMaxPerRoute=20 5 | 6 | #\u521B\u5EFA\u8FDE\u63A5\u7684\u6700\u957F\u65F6\u95F4 7 | http.connectTimeout=1000 8 | #\u4ECE\u8FDE\u63A5\u6C60\u4E2D\u83B7\u53D6\u5230\u8FDE\u63A5\u7684\u6700\u957F\u65F6\u95F4 9 | http.connectionRequestTimeout=500 10 | #\u6570\u636E\u4F20\u8F93\u7684\u6700\u957F\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09 11 | http.socketTimeout=10000 12 | #\u63D0\u4EA4\u8BF7\u6C42\u524D\u6D4B\u8BD5\u8FDE\u63A5\u662F\u5426\u53EF\u7528 13 | http.staleConnectionCheckEnabled=true -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/enums/ActionType.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.enums; 2 | /** 3 | * 自定义菜单接口多种活动类型按钮 4 | * @author Cheng 5 | */ 6 | public enum ActionType { 7 | click("点击推事件"), 8 | view("跳转URL"), 9 | scancode_push("扫码推事件"), 10 | scancode_waitmsg("扫码推事件且弹出“消息接收中”提示框"), 11 | pic_sysphoto("弹出系统拍照发图"), 12 | pic_photo_or_album("弹出拍照或者相册发图"), 13 | pic_weixin("弹出微信相册发图器"), 14 | location_select("弹出地理位置选择器"), 15 | media_id("下发消息(除文本消息)"), 16 | view_limited("跳转图文消息URL"); 17 | 18 | private String name; 19 | 20 | private ActionType(String name) { 21 | this.name = name; 22 | } 23 | public String getName() { 24 | return name; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/properties/Global.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.properties; 2 | 3 | 4 | import org.slf4j.Logger; 5 | import org.slf4j.LoggerFactory; 6 | 7 | /** 8 | * 存放文件配置信息或者全局变量配置信息 9 | */ 10 | public class Global { 11 | private static final Logger logger = LoggerFactory.getLogger(Global.class); 12 | //版本号 Versions 13 | public static String APPSECRET; 14 | 15 | static{ 16 | Properties properties = Properties.getInstance(); 17 | APPSECRET = properties.getValue("wxclient"); 18 | 19 | } 20 | 21 | public static void main(String[] args) { 22 | logger.info("sadsadaaaaaaaaaa"); 23 | System.out.println(Global.APPSECRET); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/java/com/cheng/weixin/service/order/dao/OrderProductDetailDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.order.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.order.entity.OrderProductDetail; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 订单子项表-客服 11 | * Author: hp 12 | * Date: 2016/9/9 13 | */ 14 | @Repository 15 | public interface OrderProductDetailDaoMapper extends BaseDaoMapper { 16 | /** 17 | * 获取该订单下的详情 18 | * @param orderDetail 19 | * @return 20 | */ 21 | List loadByOrder(OrderProductDetail orderDetail); 22 | } 23 | -------------------------------------------------------------------------------- /weixin-service-item/src/main/java/com/cheng/weixin/service/item/dao/ProductDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.item.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.item.entity.Product; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 商品 9 | * Author: cheng 10 | * Date: 2016/6/28 11 | */ 12 | @Repository 13 | public interface ProductDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 获取首页的商品 16 | * @return 17 | */ 18 | //List loadIndex(); 19 | 20 | /** 21 | * 获取商品 根据类型ID 22 | * @param product 23 | * @return 24 | */ 25 | //List loadMallByTypeId(Product product); 26 | } 27 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/exception/BusinessException.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.exception; 2 | 3 | public class BusinessException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = -9213841740412778182L; 6 | 7 | private int code; 8 | private String errorMsg; 9 | 10 | public BusinessException(int code, String errorMsg) { 11 | this.code = code; 12 | this.errorMsg = errorMsg; 13 | } 14 | public int getCode() { 15 | return code; 16 | } 17 | public void setCode(int code) { 18 | this.code = code; 19 | } 20 | public String getErrorMsg() { 21 | return errorMsg; 22 | } 23 | public void setErrorMsg(String errorMsg) { 24 | this.errorMsg = errorMsg; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /weixin-rpc-admin/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-admin 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-cart/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-cart 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-item/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-item 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-user/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-user 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-comment/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-comment 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-system/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-system 13 | 14 | 15 | 16 | ${project.groupId} 17 | weixin-common-entity 18 | 19 | 20 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/welcome.min.js: -------------------------------------------------------------------------------- 1 | layer.config({ 2 | extend: ["extend/layer.ext.js", "skin/moon/style.css"], 3 | skin: "layer-ext-moon" 4 | }), layer.ready(function () { 5 | function e() { 6 | parent.layer.open({title: "初见倾心,再见动情", type: 1, area: ["700px", "auto"], content: t, btn: ["确定", "取消"]}) 7 | } 8 | 9 | var t = $("#welcome-template").html(); 10 | $("a.viewlog").click(function () { 11 | return e(), !1 12 | }), $("#pay-qrcode").click(function () { 13 | var e = $(this).html(); 14 | parent.layer.open({title: !1, type: 1, closeBtn: !1, shadeClose: !0, area: ["600px", "auto"], content: e}) 15 | }), console.log("欢迎使用H+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。") 16 | }); 17 | -------------------------------------------------------------------------------- /weixin-common-entity/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-common-entity 13 | 14 | 15 | 16 | ${project.groupId} 17 | weixin-common 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/exception/MassageException.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.exception; 2 | 3 | public class MassageException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | private int code; 7 | private String errorMsg; 8 | 9 | public MassageException() { 10 | } 11 | public MassageException(int code, String errorMsg) { 12 | this.code = code; 13 | this.errorMsg = errorMsg; 14 | } 15 | public int getCode() { 16 | return code; 17 | } 18 | public void setCode(int code) { 19 | this.code = code; 20 | } 21 | public String getErrorMsg() { 22 | return errorMsg; 23 | } 24 | public void setErrorMsg(String errorMsg) { 25 | this.errorMsg = errorMsg; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/exception/WeixinException.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.exception; 2 | 3 | public class WeixinException extends RuntimeException { 4 | private static final long serialVersionUID = 1L; 5 | private int code; 6 | private String errorMsg; 7 | 8 | public WeixinException() { 9 | } 10 | public WeixinException(int code, String errorMsg) { 11 | this.code = code; 12 | this.errorMsg = errorMsg; 13 | } 14 | public int getCode() { 15 | return code; 16 | } 17 | public void setCode(int code) { 18 | this.code = code; 19 | } 20 | public String getErrorMsg() { 21 | return errorMsg; 22 | } 23 | public void setErrorMsg(String errorMsg) { 24 | this.errorMsg = errorMsg; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /weixin-rpc-promotion/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-promotion 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rabbitmq-model/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rabbitmq-model 13 | 14 | 15 | 16 | ${project.groupId} 17 | weixin-common 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-service-wxtools/src/main/resources/spring/spring-dubbo-consumer.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /weixin-rpc-admin/src/main/java/com/cheng/weixin/rpc/admin/entity/Permission.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.admin.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 权限实体类 7 | * Author: Cheng 8 | * Date: 2016/1/28 0028 9 | */ 10 | public class Permission extends DataEntity { 11 | private String name; // 资源名 12 | private String precode; // 权限代码 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public void setName(String name) { 19 | this.name = name; 20 | } 21 | 22 | public String getPrecode() { 23 | return precode; 24 | } 25 | 26 | public void setPrecode(String precode) { 27 | this.precode = precode; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /weixin-rpc-order/src/main/java/com/cheng/weixin/rpc/order/enumType/OrderStatus.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.order.enumType; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/11/16 7 | */ 8 | public enum OrderStatus { 9 | INVALID("无效的订单"), // 前端用的 10 | 11 | 12 | WAIT_PAY("等待付款"), // 倒计时15分钟内付款 进入下一个流程,否则进入付款超时(已失效) 13 | ONGOING("进行中"), 14 | COMMENT("等待评论"), // 用户确认收货后 15 | FINISHED("完成"), 16 | 17 | PAY_OUT_TIME("付款超时"), 18 | WAIT_REFUND("等待退款"), 19 | REFUNDED("已退款"), 20 | CANCELED("已取消"), 21 | UNFINISHED("未完成"); 22 | 23 | 24 | private String name; 25 | OrderStatus(String name) { 26 | this.name = name; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /weixin-rpc-promotion/src/main/java/com/cheng/weixin/rpc/promotion/service/RpcCouponService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.promotion.service; 2 | 3 | import com.cheng.weixin.rpc.promotion.entity.CouponCode; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Desc: 9 | * Author: hp 10 | * Date: 2016/11/7 11 | */ 12 | public interface RpcCouponService { 13 | /** 14 | * 获取用户的优惠券 15 | * @param userId 16 | * @return 17 | */ 18 | List getCouponCodeByUser(String userId); 19 | 20 | /** 21 | * 获取优惠券信息 22 | * @param id 23 | * @return 24 | */ 25 | CouponCode getCouponById(String id); 26 | 27 | /** 28 | * 更新优惠券信息 29 | * @param id 30 | */ 31 | void updateCouponUsedById(String id); 32 | } 33 | -------------------------------------------------------------------------------- /weixin-rpc-rabbitmq/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-rabbitmq 13 | 14 | 15 | 16 | ${project.groupId} 17 | weixin-rabbitmq-model 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/request/model/ModelMsgData.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.request.model; 2 | 3 | import java.io.Serializable; 4 | 5 | public class ModelMsgData implements Serializable { 6 | 7 | private static final long serialVersionUID = 1L; 8 | 9 | private String value; 10 | private String color; 11 | 12 | public ModelMsgData(String value, String color) { 13 | this.value = value; 14 | this.color = color; 15 | } 16 | public String getValue() { 17 | return value; 18 | } 19 | public void setValue(String value) { 20 | this.value = value; 21 | } 22 | public String getColor() { 23 | return color; 24 | } 25 | public void setColor(String color) { 26 | this.color = color; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/mall/Mall.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.mall; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Desc: 商城商品 7 | * Author: hp 8 | * Date: 2016/9/9 9 | */ 10 | @Deprecated 11 | public class Mall { 12 | private List products; 13 | private String totalPrice; 14 | 15 | public List getProducts() { 16 | return products; 17 | } 18 | 19 | public void setProducts(List products) { 20 | this.products = products; 21 | } 22 | 23 | public String getTotalPrice() { 24 | return totalPrice; 25 | } 26 | 27 | public void setTotalPrice(String totalPrice) { 28 | this.totalPrice = totalPrice; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /weixin-rpc-system/src/main/java/com/cheng/weixin/rpc/system/entity/AdPosition.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.system.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 广告位置 7 | * Author: 光灿 8 | * Date: 2016/6/18 9 | */ 10 | public class AdPosition extends DataEntity { 11 | private String name; 12 | private String type; 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public AdPosition setName(String name) { 19 | this.name = name; 20 | return this; 21 | } 22 | 23 | public String getType() { 24 | return type; 25 | } 26 | 27 | public AdPosition setType(String type) { 28 | this.type = type; 29 | return this; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-service-item/src/main/java/com/cheng/weixin/service/item/dao/PictureDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.item.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.item.entity.Picture; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * Desc: 商品 9 | * Author: cheng 10 | * Date: 2016/6/28 11 | */ 12 | @Repository 13 | public interface PictureDaoMapper extends BaseDaoMapper { 14 | /** 15 | * 根据商品ID获取该商品所有图片 16 | * @param picture 17 | * @return 18 | */ 19 | //List loadAllPicture(Picture picture); 20 | 21 | /** 22 | * 根据商品ID获取默认的图片 23 | * @param picture 24 | * @return 25 | */ 26 | //Picture loadDefaultPicture(Picture picture); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/main/java/com/cheng/weixin/service/rabbitmq/RabbitLogService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.rabbitmq; 2 | 3 | import com.cheng.weixin.rpc.rabbitmq.service.RpcRabbitLogService; 4 | import org.springframework.amqp.rabbit.core.RabbitTemplate; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Service; 7 | 8 | /** 9 | * Desc: 消息列队 10 | * Author: Cheng 11 | * Date: 2016/4/25 0025 12 | */ 13 | @Service("rabbitLogService") 14 | public class RabbitLogService implements RpcRabbitLogService { 15 | @Autowired 16 | private RabbitTemplate rabbitLogTemplate; 17 | 18 | @Override 19 | public void saveLogs(Object obj) { 20 | rabbitLogTemplate.convertAndSend(LOG, obj); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/index/IndexBuy.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.index; 2 | 3 | import com.cheng.weixin.common.utils.StringFormat; 4 | 5 | import java.math.BigDecimal; 6 | 7 | /** 8 | * Desc: 购买信息 9 | * Author: 光灿 10 | * Date: 2016/7/1 11 | */ 12 | @Deprecated 13 | public class IndexBuy { 14 | private Long count; 15 | private String price; 16 | 17 | public Long getCount() { 18 | return count; 19 | } 20 | 21 | public void setCount(Long count) { 22 | this.count = count; 23 | } 24 | 25 | public String getPrice() { 26 | return price; 27 | } 28 | 29 | public void setPrice(BigDecimal price) { 30 | this.price = StringFormat.format(price); 31 | } 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /weixin-service-cart/src/main/resources/spring/spring-dubbo-consumer.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 14 | 15 | -------------------------------------------------------------------------------- /weixin-service-log/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/content/WeixinContent.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.content; 2 | 3 | public class WeixinContent { 4 | 5 | private WeixinContent(){} 6 | 7 | private static class SingletonHolder { 8 | public static final WeixinContent instance = new WeixinContent(); 9 | } 10 | 11 | public static WeixinContent getInstance() { 12 | return SingletonHolder.instance; 13 | } 14 | 15 | // private String accessToken; 16 | private static String accessToken = "YwQ1YAO9kVLY-OM6A4Cn5IIt4QC25ixcNV00y_vYS4jFhtTUFMs1OK9HUdQKFsgTkjPPzjhIcClkoz2804GtkjJD-tXfF-x4aHcxdQO-yH4GRIgAEANYP"; 17 | public String getAccessToken() { 18 | return accessToken; 19 | } 20 | public void setAccessToken(String accessToken) { 21 | this.accessToken = accessToken; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /weixin-service-cart/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /weixin-service-promotion/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/switchery/switchery.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Main stylesheet for Switchery. 4 | * http://abpetkov.github.io/switchery/ 5 | * 6 | */ 7 | 8 | .switchery { 9 | background-color: #fff; 10 | border: 1px solid #dfdfdf; 11 | border-radius: 20px; 12 | cursor: pointer; 13 | display: inline-block; 14 | height: 30px; 15 | position: relative; 16 | vertical-align: middle; 17 | width: 50px; 18 | 19 | -webkit-box-sizing: content-box; 20 | -moz-box-sizing: content-box; 21 | box-sizing: content-box; 22 | } 23 | 24 | .switchery > small { 25 | background: #fff; 26 | border-radius: 100%; 27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 28 | height: 30px; 29 | position: absolute; 30 | top: 0; 31 | width: 30px; 32 | } 33 | -------------------------------------------------------------------------------- /weixin-service-admin/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-service-item/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/test/resources/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /weixin-service-comment/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-service-log/src/test/resources/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /weixin-service-message/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weixin-service-timer/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-timer] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/weixin-service-timer.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-timer] %p [%t] %c-<%L> %m%n -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/mall/MallBuy.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.mall; 2 | 3 | import com.cheng.weixin.common.utils.StringFormat; 4 | 5 | import java.math.BigDecimal; 6 | 7 | /** 8 | * Desc: 购买信息 9 | * Author: 光灿 10 | * Date: 2016/7/1 11 | */ 12 | @Deprecated 13 | public class MallBuy { 14 | private Long count; 15 | private String totalPrice; 16 | 17 | public Long getCount() { 18 | return count; 19 | } 20 | 21 | public void setCount(Long count) { 22 | this.count = count; 23 | } 24 | 25 | public String getTotalPrice() { 26 | return totalPrice; 27 | } 28 | 29 | public void setTotalPrice(BigDecimal totalPrice) { 30 | this.totalPrice = StringFormat.format(totalPrice); 31 | } 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/order/Status.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.order; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/11/16 7 | */ 8 | public class Status { 9 | private String name; 10 | private boolean active; 11 | 12 | public Status() { 13 | } 14 | 15 | public Status(String name, boolean active) { 16 | this.name = name; 17 | this.active = active; 18 | } 19 | 20 | public boolean isActive() { 21 | return active; 22 | } 23 | 24 | public void setActive(boolean active) { 25 | this.active = active; 26 | } 27 | 28 | public String getName() { 29 | return name; 30 | } 31 | 32 | public void setName(String name) { 33 | this.name = name; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-RabbitMQ] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=log/weixin-service-RabbitMQ.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-RabbitMQ] %p [%t] %c-<%L> %m%n -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * bootstrap-table - v1.9.0 - 2015-09-30 3 | * https://github.com/wenzhixin/bootstrap-table 4 | * Copyright (c) 2015 zhixin wen 5 | * Licensed MIT License 6 | */ 7 | !function(a){"use strict";a.fn.bootstrapTable.locales["zh-CN"]={formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候……"},formatRecordsPerPage:function(a){return"每页显示 "+a+" 条记录"},formatShowingRows:function(a,b,c){return"显示第 "+a+" 到第 "+b+" 条记录,总共 "+c+" 条记录"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的记录"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatColumns:function(){return"列"}},a.extend(a.fn.bootstrapTable.defaults,a.fn.bootstrapTable.locales["zh-CN"])}(jQuery); 8 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/PageDto.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.param; 2 | 3 | /** 4 | * Desc: 分页 5 | * Author: cheng 6 | * Date: 2016/7/4 7 | */ 8 | public class PageDto { 9 | private String id; 10 | private int pageNum; 11 | private int pageSize; 12 | 13 | public String getId() { 14 | return id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | public int getPageNum() { 22 | return pageNum; 23 | } 24 | 25 | public void setPageNum(int pageNum) { 26 | this.pageNum = pageNum; 27 | } 28 | 29 | public int getPageSize() { 30 | return pageSize; 31 | } 32 | 33 | public void setPageSize(int pageSize) { 34 | this.pageSize = pageSize; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/test/java/com/cheng/test/UserModel.java: -------------------------------------------------------------------------------- 1 | package com.cheng.test; 2 | 3 | /** 4 | * Desc: 5 | * Author: Cheng 6 | * Date: 2016/4/25 0025 7 | */ 8 | public class UserModel { 9 | private String username; 10 | private String password; 11 | private String sex; 12 | 13 | public String getUsername() { 14 | return username; 15 | } 16 | 17 | public void setUsername(String username) { 18 | this.username = username; 19 | } 20 | 21 | public String getPassword() { 22 | return password; 23 | } 24 | 25 | public void setPassword(String password) { 26 | this.password = password; 27 | } 28 | 29 | public String getSex() { 30 | return sex; 31 | } 32 | 33 | public void setSex(String sex) { 34 | this.sex = sex; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/mall/ProductCategory.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.mall; 2 | 3 | import org.apache.commons.lang3.builder.ReflectionToStringBuilder; 4 | 5 | /** 6 | * Desc: 商品类别 7 | * Author: hp 8 | * Date: 2016/9/9 9 | */ 10 | public class ProductCategory { 11 | private String id; 12 | private String name; 13 | 14 | public String getId() { 15 | return id; 16 | } 17 | 18 | public void setId(String id) { 19 | this.id = id; 20 | } 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | 30 | @Override 31 | public String toString() { 32 | return ReflectionToStringBuilder.toString(this); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /weixin-notify-pay/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | Weixin-Dubbo 5 | com.cheng 6 | 1.0-SNAPSHOT 7 | 8 | 4.0.0 9 | weixin-notify-pay 10 | war 11 | weixin-notify-pay 12 | http://maven.apache.org 13 | 14 | 15 | 16 | junit 17 | junit 18 | 19 | 20 | 21 | notifyPay 22 | 23 | 24 | -------------------------------------------------------------------------------- /weixin-rpc-admin/src/main/java/com/cheng/weixin/rpc/admin/entity/RolePermission.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.admin.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 角色和权限对应关系 7 | * Author: Cheng 8 | * Date: 2016/1/28 0028 9 | */ 10 | public class RolePermission extends DataEntity { 11 | /** 角色ID **/ 12 | private String roleId; 13 | /** 权限ID **/ 14 | private String permissionId; 15 | 16 | public String getRoleId() { 17 | return roleId; 18 | } 19 | 20 | public void setRoleId(String roleId) { 21 | this.roleId = roleId; 22 | } 23 | 24 | public String getPermissionId() { 25 | return permissionId; 26 | } 27 | 28 | public void setPermissionId(String permissionId) { 29 | this.permissionId = permissionId; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-service-httpclient/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | log4j.appender.CONSOLE.Encoding=UTF-8 6 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-httpclient] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/weixin-service-httpclient.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-httpclient] %p [%t] %c-<%L> %m%n -------------------------------------------------------------------------------- /weixin-web-manage/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,FILE 2 | log4j.rootLogger=DEBUG,CONSOLE 3 | log4j.appender.Threshold=ERROR 4 | 5 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | log4j.appender.CONSOLE.Encoding=UTF-8 7 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [web-manage] %p [%t] %c-<%L> %m%n 9 | 10 | #log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | #log4j.appender.FILE.Encoding=UTF-8 12 | #log4j.appender.FILE.File=../logs/web-manage.log 13 | #log4j.appender.FILE.MaxFileSize=4000KB 14 | #log4j.appender.FILE.MaxBackupIndex=10 15 | #log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | #log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [web-manage] %p [%t] %c-<%L> %m%n -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/order/ProductDetail.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.order; 2 | 3 | /** 4 | * Desc: 5 | * Author: hp 6 | * Date: 2016/9/28 7 | */ 8 | public class ProductDetail { 9 | private String name; 10 | private int count; 11 | private String price; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | 21 | public int getCount() { 22 | return count; 23 | } 24 | 25 | public void setCount(int count) { 26 | this.count = count; 27 | } 28 | 29 | public String getPrice() { 30 | return price; 31 | } 32 | 33 | public void setPrice(String price) { 34 | this.price = price; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/security/CodecUtil.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.security; 2 | 3 | import org.apache.commons.lang3.RandomStringUtils; 4 | import org.slf4j.Logger; 5 | import org.slf4j.LoggerFactory; 6 | 7 | import java.util.UUID; 8 | 9 | /** 10 | * Desc: 编码与解码操作工具类 11 | * Author: cheng 12 | * Date: 2016/6/22 13 | */ 14 | public class CodecUtil { 15 | 16 | private static Logger logger = LoggerFactory.getLogger(CodecUtil.class); 17 | 18 | /** 19 | * 创建随机数 20 | */ 21 | public static String createRandomNum(int count) { 22 | return RandomStringUtils.randomNumeric(count); 23 | } 24 | 25 | /** 26 | * 获取 UUID(32位) 27 | */ 28 | public static String createUUID() { 29 | return UUID.randomUUID().toString().replaceAll("-", "").toUpperCase(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/model/Book.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.model; 2 | 3 | /** 4 | * Desc: 5 | * Author: cheng 6 | * Date: 2016/6/22 7 | */ 8 | public class Book { 9 | private String name; 10 | private Integer pageNum; 11 | 12 | private int hasPage; 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public void setName(String name) { 19 | this.name = name; 20 | } 21 | 22 | public Integer getPageNum() { 23 | return pageNum; 24 | } 25 | 26 | public void setPageNum(Integer pageNum) { 27 | this.pageNum = pageNum; 28 | } 29 | 30 | public int getHasPage() { 31 | return hasPage; 32 | } 33 | 34 | public void setHasPage(int hasPage) { 35 | this.hasPage = hasPage; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /weixin-rpc-system/src/main/java/com/cheng/weixin/rpc/system/entity/AdJoinPosition.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.system.entity; 2 | 3 | import com.cheng.common.entity.DataEntity; 4 | 5 | /** 6 | * Desc: 广告与位置关联 7 | * Author: 光灿 8 | * Date: 2016/6/18 9 | */ 10 | public class AdJoinPosition extends DataEntity { 11 | private String adId; 12 | private String adPositionId; 13 | 14 | public String getAdId() { 15 | return adId; 16 | } 17 | 18 | public AdJoinPosition setAdId(String adId) { 19 | this.adId = adId; 20 | return this; 21 | } 22 | 23 | public String getAdPositionId() { 24 | return adPositionId; 25 | } 26 | 27 | public AdJoinPosition setAdPositionId(String adPositionId) { 28 | this.adPositionId = adPositionId; 29 | return this; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-service-admin/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-admin] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-admin.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-admin] %p [%t] %c-<%L> %m%n -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/order/ArayacakTownAddr.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.order; 2 | 3 | /** 4 | * Desc: 5 | * Author: hp 6 | * Date: 2016/11/2 7 | */ 8 | public class ArayacakTownAddr { 9 | private String townId; 10 | private String town; 11 | 12 | public ArayacakTownAddr() { 13 | } 14 | 15 | public ArayacakTownAddr(String townId, String town) { 16 | this.townId = townId; 17 | this.town = town; 18 | } 19 | 20 | public String getTownId() { 21 | return townId; 22 | } 23 | 24 | public void setTownId(String townId) { 25 | this.townId = townId; 26 | } 27 | 28 | public String getTown() { 29 | return town; 30 | } 31 | 32 | public void setTown(String town) { 33 | this.town = town; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/order/OrderDeliveryTime.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.order; 2 | 3 | /** 4 | * Desc: 5 | * Author: 光灿 6 | * Date: 2016/9/16 7 | */ 8 | public class OrderDeliveryTime { 9 | private String value; 10 | private String title; 11 | 12 | public OrderDeliveryTime() { 13 | } 14 | 15 | public OrderDeliveryTime(String id, String name) { 16 | this.value = id; 17 | this.title = name; 18 | } 19 | 20 | public String getValue() { 21 | return value; 22 | } 23 | 24 | public void setValue(String value) { 25 | this.value = value; 26 | } 27 | 28 | public String getTitle() { 29 | return title; 30 | } 31 | 32 | public void setTitle(String title) { 33 | this.title = title; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/index/IndexNotice.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.index; 2 | 3 | /** 4 | * Desc: 通知 5 | * Author: cheng 6 | * Date: 2016/6/28 7 | */ 8 | public class IndexNotice { 9 | private String id; 10 | private String content; 11 | private String linkUrl; 12 | 13 | public String getId() { 14 | return id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | public String getContent() { 22 | return content; 23 | } 24 | 25 | public void setContent(String content) { 26 | this.content = content; 27 | } 28 | 29 | public String getLinkUrl() { 30 | return linkUrl; 31 | } 32 | 33 | public void setLinkUrl(String linkUrl) { 34 | this.linkUrl = linkUrl; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-rpc-log/src/main/java/com/cheng/weixin/rpc/log/service/RpcLogService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.log.service; 2 | 3 | import java.util.Map; 4 | 5 | /** 6 | * Desc: 日志 7 | * Author: Cheng 8 | * Date: 2016/4/7 0007 9 | */ 10 | public interface RpcLogService { 11 | /** 12 | * 保存日志 13 | * @param remoteAddr 操作用户的IP地址 14 | * @param userAgent 操作用户的代理信息 15 | * @param requestUri 操作的URI 16 | * @param params 操作提交的数据 17 | * @param method 操作的方式 GET或POST 18 | // * @param handler // 里面有内容不支持序列化;需要在前端把值取出来 传过来 TODO 以后实现 19 | * @param ex 异常信息 20 | * @param title 标题 21 | * @param username 操作人用户名 22 | */ 23 | void saveLog(String remoteAddr, String userAgent, String requestUri, Map params, String method, 24 | /*Object handler,*/ Exception ex, String title, String username); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/response/model/WxMedia.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.response.model; 2 | 3 | public class WxMedia { 4 | 5 | private String type; 6 | private String media_id; 7 | private long created_at; 8 | 9 | public String getType() { 10 | return type; 11 | } 12 | public void setType(String type) { 13 | this.type = type; 14 | } 15 | public String getMedia_id() { 16 | return media_id; 17 | } 18 | public void setMedia_id(String media_id) { 19 | this.media_id = media_id; 20 | } 21 | public long getCreated_at() { 22 | return created_at; 23 | } 24 | public void setCreated_at(long created_at) { 25 | this.created_at = created_at; 26 | } 27 | @Override 28 | public String toString() { 29 | return "Media [type=" + type + ", media_id=" + media_id + ", created_at=" + created_at + "]"; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-service-log/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=[service-log] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-log.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-log] %p [%t] %c-<%L> %m%n 17 | 18 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-service-redis/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | #log4j.appender.CONSOLE.Encoding=UTF-8 6 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-redis] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/service-redis.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-redis] %p [%t] %c-<%L> %m%n 16 | 17 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/exception/LoginException.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.exception; 2 | 3 | 4 | import com.cheng.weixin.web.mobile.exception.message.StatusCode; 5 | 6 | @SuppressWarnings("serial") 7 | public class LoginException extends BaseException { 8 | public LoginException() { 9 | } 10 | 11 | public LoginException(String message) { 12 | super(message); 13 | } 14 | 15 | 16 | public LoginException(StatusCode statusCode) { 17 | super(statusCode); 18 | } 19 | public LoginException(StatusCode statusCode, String message) { 20 | super(statusCode, message); 21 | } 22 | 23 | public LoginException(String message, Exception e) { 24 | super(message, e); 25 | } 26 | 27 | 28 | protected StatusCode getStatusCode() { 29 | return super.statusCode != null ? super.statusCode : StatusCode.LOGIN_FAIL; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/result/index/IndexImage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.result.index; 2 | 3 | /** 4 | * Desc: 首页图片信息 5 | * Author: cheng 6 | * Date: 2016/6/28 7 | */ 8 | public class IndexImage { 9 | private String id; 10 | private String urlLink; 11 | private String hrefLink; 12 | 13 | public String getId() { 14 | return id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | public String getUrlLink() { 22 | return urlLink; 23 | } 24 | 25 | public void setUrlLink(String urlLink) { 26 | this.urlLink = urlLink; 27 | } 28 | 29 | public String getHrefLink() { 30 | return hrefLink; 31 | } 32 | 33 | public void setHrefLink(String hrefLink) { 34 | this.hrefLink = hrefLink; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-service-cart/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | #log4j.appender.CONSOLE.Encoding=UTF-8 6 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/service-cart.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-cart] %p [%t] %c-<%L> %m%n 16 | 17 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-service-item/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | #log4j.appender.CONSOLE.Encoding=UTF-8 6 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-item] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/service-item.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-item] %p [%t] %c-<%L> %m%n 16 | 17 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-web-manage/src/main/webapp/static/css/plugins/fullcalendar/fullcalendar.print.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * FullCalendar v1.6.4 Print Stylesheet 3 | * Docs & License: http://arshaw.com/fullcalendar/ 4 | * (c) 2013 Adam Shaw 5 | */ 6 | 7 | /* 8 | * Include this stylesheet on your page to get a more printer-friendly calendar. 9 | * When including this stylesheet, use the media='print' attribute of the tag. 10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css. 11 | */ 12 | 13 | 14 | /* Events 15 | -----------------------------------------------------*/ 16 | 17 | .fc-event { 18 | background: #fff !important; 19 | color: #000 !important; 20 | } 21 | 22 | /* for vertical events */ 23 | 24 | .fc-event-bg { 25 | display: none !important; 26 | } 27 | 28 | .fc-event .ui-resizable-handle { 29 | display: none !important; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /weixin-rpc-order/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-order 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | com.github.pagehelper 21 | pagehelper 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/model/Response.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.model; 2 | 3 | /** 4 | * Desc: 返回封装的实体 5 | * Author: cheng 6 | * Date: 2016/6/21 7 | */ 8 | public class Response { 9 | 10 | private Meta meta; 11 | private Object data; 12 | 13 | public Response() {} 14 | 15 | // 成功||失败-状态码-成|败-消息-数据 16 | public Response(int code, boolean success, String message, Object data) { 17 | this.meta = new Meta(code, success, message); 18 | this.data = data; 19 | } 20 | 21 | public Meta getMeta() { 22 | return meta; 23 | } 24 | 25 | public void setMeta(Meta meta) { 26 | this.meta = meta; 27 | } 28 | 29 | public Object getData() { 30 | return data; 31 | } 32 | 33 | public void setData(Object data) { 34 | this.data = data; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /weixin-service-comment/src/main/java/com/cheng/weixin/service/comment/service/CommentService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.comment.service; 2 | 3 | import com.cheng.weixin.rpc.comment.entity.Comment; 4 | import com.cheng.weixin.rpc.comment.service.RpcCommentService; 5 | import com.cheng.weixin.service.comment.dao.CommentDaoMapper; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * Desc: 评论 13 | * Author: hp 14 | * Date: 2016/10/8 15 | */ 16 | @Service("commentService") 17 | public class CommentService implements RpcCommentService { 18 | @Autowired 19 | private CommentDaoMapper commentDao; 20 | 21 | @Override 22 | public List getByProductId(String productId) { 23 | return commentDao.loadAll(new Comment(productId)); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weixin-service-system/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.appender.Threshold=ERROR 3 | 4 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 5 | #log4j.appender.CONSOLE.Encoding=UTF-8 6 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 7 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-system] %p [%t] %c-<%L> %m%n 8 | 9 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 10 | log4j.appender.FILE.Encoding=UTF-8 11 | log4j.appender.FILE.File=logs/service-system.log 12 | log4j.appender.FILE.MaxFileSize=4000KB 13 | log4j.appender.FILE.MaxBackupIndex=10 14 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-system] %p [%t] %c-<%L> %m%n 16 | 17 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-rpc-message/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Weixin-Dubbo 7 | com.cheng 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | weixin-rpc-message 13 | 14 | 15 | 16 | com.cheng 17 | weixin-common-entity 18 | 19 | 20 | ${project.groupId} 21 | weixin-rabbitmq-model 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /weixin-service-item/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-service-redis/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,CONSOLE 2 | #,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | log4j.appender.CONSOLE.Encoding=UTF-8 7 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-redis] %p [%t] %c-<%L> %m%n 9 | 10 | #log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | #log4j.appender.FILE.Encoding=UTF-8 12 | #log4j.appender.FILE.File=logs/service-redis.log 13 | #log4j.appender.FILE.MaxFileSize=4000KB 14 | #log4j.appender.FILE.MaxBackupIndex=10 15 | #log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | #log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-redis] %p [%t] %c-<%L> %m%n 17 | 18 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-service-redis/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-service-user/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-rpc-wxtools/src/main/java/com/cheng/weixin/rpc/wxtools/response/model/SendTemplateMassage.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.wxtools.response.model; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 发送模版消息的回复 7 | * @author Cheng 8 | * 9 | */ 10 | public class SendTemplateMassage implements Serializable { 11 | 12 | private static final long serialVersionUID = 1L; 13 | private String errcode; 14 | private String errmsg; 15 | private long msgid; 16 | public String getErrcode() { 17 | return errcode; 18 | } 19 | public void setErrcode(String errcode) { 20 | this.errcode = errcode; 21 | } 22 | public String getErrmsg() { 23 | return errmsg; 24 | } 25 | public void setErrmsg(String errmsg) { 26 | this.errmsg = errmsg; 27 | } 28 | public long getMsgid() { 29 | return msgid; 30 | } 31 | public void setMsgid(long msgid) { 32 | this.msgid = msgid; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /weixin-service-log/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /weixin-service-order/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-order] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-order.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-order] %p [%t] %c-<%L> %m%n 17 | 18 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-service-user/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-user] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-user.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-user] %p [%t] %c-<%L> %m%n 17 | 18 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-rpc-httpclient/src/main/java/com/cheng/weixin/rpc/httpclient/service/RpcHttpClientService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.rpc.httpclient.service; 2 | 3 | /** 4 | * Desc: 5 | * Author: Cheng 6 | * Date: 2016/4/21 0021 7 | */ 8 | public interface RpcHttpClientService { 9 | /** 10 | * GET请求 11 | * @param url 12 | * @return 13 | */ 14 | String doGet(String url); 15 | 16 | /** 17 | * POST 请求 18 | * @param url 传入的微信地址 19 | * @param data 需要发送的JSON参数 20 | * @return 微信回复的消息 21 | */ 22 | String doPost(String url, String data); 23 | /** 24 | * 发送媒体消息 25 | * @param url 传入的微信地址 26 | * @param path 需要传入的媒体文件 27 | * @return 返回的结果 28 | */ 29 | String postMedia(String url, String path); 30 | /** 31 | * 根据媒体ID下载媒体资源 32 | * @param url 33 | * @param path 34 | */ 35 | void getMidie(String url, String path); 36 | } 37 | -------------------------------------------------------------------------------- /weixin-service-comment/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-item] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-comment.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-comment] %p [%t] %c-<%L> %m%n 17 | 18 | #log4j.logger.org.apache.zookeeper.ClientCnxn=ERROR -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-rabbitmq] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-rabbitmq.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-rabbitmq] %p [%t] %c-<%L> %m%n 17 | 18 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-web-mobile/src/main/java/com/cheng/weixin/web/mobile/param/AddressDto.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.web.mobile.param; 2 | 3 | import org.apache.commons.lang3.builder.ToStringBuilder; 4 | 5 | /** 6 | * Desc: 7 | * Author: hp 8 | * Date: 2016/11/3 9 | */ 10 | public class AddressDto { 11 | private String id; 12 | private Boolean isSince; 13 | 14 | public String getId() { 15 | return id; 16 | } 17 | 18 | public void setId(String id) { 19 | this.id = id; 20 | } 21 | 22 | public Boolean getSince() { 23 | return isSince; 24 | } 25 | 26 | public void setSince(Boolean since) { 27 | isSince = since; 28 | } 29 | 30 | @Override 31 | public String toString() { 32 | return new ToStringBuilder(this) 33 | .append("id", id) 34 | .append("isSince", isSince) 35 | .toString(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /weixin-service-promotion/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | #log4j.rootLogger=DEBUG,CONSOLE,FILE 2 | log4j.rootLogger=DEBUG,FILE 3 | log4j.appender.Threshold=ERROR 4 | 5 | #log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 6 | #log4j.appender.CONSOLE.Encoding=UTF-8 7 | #log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 8 | #log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [service-order] %p [%t] %c-<%L> %m%n 9 | 10 | log4j.appender.FILE=org.apache.log4j.RollingFileAppender 11 | log4j.appender.FILE.Encoding=UTF-8 12 | log4j.appender.FILE.File=logs/service-promotion.log 13 | log4j.appender.FILE.MaxFileSize=4000KB 14 | log4j.appender.FILE.MaxBackupIndex=10 15 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 16 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [service-promotion] %p [%t] %c-<%L> %m%n 17 | 18 | log4j.logger.org.apache.zookeeper.ClientCnxn=INFO -------------------------------------------------------------------------------- /weixin-common/src/main/java/com/cheng/weixin/common/utils/SystemUtils.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.common.utils; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | 5 | /** 6 | * Desc: 系统工具 获取验证码 7 | * Author: 光灿 8 | * Date: 2016/7/9 9 | */ 10 | public class SystemUtils { 11 | /** 12 | * 获取远程用户的地址 13 | */ 14 | public static String getRemoteAddr(HttpServletRequest request) { 15 | String remoteAddr = request.getHeader("X-Real-IP"); 16 | if(StringUtils.isBlank(remoteAddr)) { 17 | remoteAddr = request.getHeader("X-Forwarded-For"); 18 | }else if (StringUtils.isBlank(remoteAddr)) { 19 | remoteAddr = request.getHeader("Proxy-Client-IP"); 20 | }else if (StringUtils.isBlank(remoteAddr)) { 21 | remoteAddr = request.getHeader("WL-Proxy-Client-IP"); 22 | } 23 | return remoteAddr != null ? remoteAddr : request.getRemoteAddr(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/main/java/com/cheng/weixin/service/rabbitmq/RabbitSmsService.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.rabbitmq; 2 | 3 | import com.cheng.weixin.rpc.rabbitmq.service.RpcRabbitSmsService; 4 | import org.springframework.amqp.rabbit.core.RabbitTemplate; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Service; 7 | 8 | /** 9 | * Desc: 消息列队 10 | * Author: Cheng 11 | * Date: 2016/4/25 0025 12 | */ 13 | @Service("rabbitSmsService") 14 | public class RabbitSmsService implements RpcRabbitSmsService { 15 | @Autowired 16 | private RabbitTemplate rabbitSmsTemplate; 17 | 18 | @Override 19 | public void sendValidate(Object data) { 20 | rabbitSmsTemplate.convertAndSend(VALIDATE, data); 21 | } 22 | 23 | @Override 24 | public void sendCashNotify(Object data) { 25 | rabbitSmsTemplate.convertAndSend(NOTICE, data); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /weixin-service-user/src/main/java/com/cheng/weixin/service/user/dao/BonusPointRecordDaoMapper.java: -------------------------------------------------------------------------------- 1 | package com.cheng.weixin.service.user.dao; 2 | 3 | import com.cheng.weixin.common.core.dao.BaseDaoMapper; 4 | import com.cheng.weixin.rpc.user.entity.BonusPointRecord; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Desc: 积分记录 记录积分的收支情况 11 | * Author: cheng 12 | * Date: 2016/7/7 13 | */ 14 | @Repository 15 | public interface BonusPointRecordDaoMapper extends BaseDaoMapper { 16 | 17 | /** 18 | * 根据用户名获取最新一条积分 19 | * @param bonusPointRecord 20 | * @return 21 | */ 22 | BonusPointRecord loadNewByUSerId(BonusPointRecord bonusPointRecord); 23 | /** 24 | * 根据用户名获取当前月积分 25 | * @param bonusPointRecord 26 | * @return 27 | */ 28 | List loadByUSerIdAndCurrentMonth(BonusPointRecord bonusPointRecord); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /weixin-service-rabbitmq/src/test/resources/spring-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | --------------------------------------------------------------------------------