Giter VIP home page Giter VIP logo

coupons's Introduction

公众号 掘金 CSDN 开源** 知乎

coupons文档完善中...

项目介绍

coupons是一个从前端到后端完全开源的淘宝客项目,目前项目已经支持打包成App、微信小程序、QQ小程序、Web站点;理论上其他小程序支持,可能需要微调

Github地址:

Gitee地址:

功能列表

  • 推荐穿衣搭配
  • 搭配筛选
  • 搭配详情
  • 相关搭配推荐
  • 用户点赞
  • 商品分类
  • 分类查询商品列表
  • 首页轮播
  • APP、Web支持唤醒淘宝
  • 9.9包邮
  • 疯抢排行榜
  • 首页优质商品推荐
  • 商品、优惠券搜索
  • 商品详情
  • 相似商品推荐
  • 商品收藏、收藏夹
  • 口令购买、领券购买
  • 用户登录、微信登录、QQ登录、手机验证码登录
  • 用户新手教程

在线体验地址

App下载地址 QQ小程序 微信小程序 Web站点

App下载地址(用手机访问才能正确下载IOS和安卓版本): http://static.szjx.top/download/index.html

Web站点(用手机访问,PC端未适配):http://m.szjx.top

效果预览

组织结构

coupons
├── doc -- 数据库脚本
├── server -- 后端源码
├── client -- 前端源码

技术选型

后端技术

技术 备注 地址
SpringBoot 容器+MVC框架 https://spring.io/projects/spring-boot
MyBatis ORM框架 http://www.mybatis.org/mybatis-3/zh/index.html
SpringSecurity 认证和授权框架 https://spring.io/projects/spring-security
SpringSocial OAuth2认证框架 https://github.com/spring-projects/spring-social
Redis 分布式缓存 https://redis.io/
Druid 数据库连接池 https://github.com/alibaba/druid
Lombok 简化对象封装工具 https://github.com/rzwitserloot/lombok
Fastjson JSON工具 https://github.com/alibaba/fastjson
spring-data-mybatis 封装Mybatis实现JPA部分功能 https://github.com/easybest/spring-data-mybatis

前端技术

技术 备注 地址
Vue 前端框架 https://vuejs.org/
UniApp 一个使用 Vue.js 开发所有前端应用的框架 https://uniapp.dcloud.io/
Vuex 全局状态管理框架 https://vuex.vuejs.org/
colorui 样式库 https://github.com/weilanwl/ColorUI

开发环境

工具 版本号 下载
JDK 1.8 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Mysql 5.7 https://www.mysql.com/
Redis 5.0 https://redis.io/download
Nginx 1.10 http://nginx.org/en/download.html

部署文档

有任何部署疑问,欢迎给我留言

期待你的加入,公众号:贝塔学Java,个人微信号:silently9527

公众号

我的技术博客

https://silently9527.cn/

其他项目推荐

捐赠研发

如果您认为此项目帮到了您的开发工作,使您赚到钱了,您可以捐赠我一杯可乐(相信这比打赏主播更有意义)。

coupons's People

Contributors

happytsgf avatar silently9527 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coupons's Issues

不知哪的问题

2021-05-22 20:02:07.213 INFO 6216 --- [ restartedMain] c.h.mall.webapi.MallWebapiApplication : Starting MallWebapiApplication on LAPTOP-B38DRMDA with PID 6216 (D:\mall-coupons-server-master\mall-coupons-server-master\target\classes started by hp in D:\mall-coupons-server-master\mall-coupons-server-master)
2021-05-22 20:02:07.217 INFO 6216 --- [ restartedMain] c.h.mall.webapi.MallWebapiApplication : No active profile set, falling back to default profiles: default
2021-05-22 20:02:07.295 INFO 6216 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-05-22 20:02:07.295 INFO 6216 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-05-22 20:02:09.199 WARN 6216 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.huaan9527.mall.webapi]' package. Please check your configuration.
2021-05-22 20:02:09.266 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2021-05-22 20:02:09.270 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2021-05-22 20:02:09.347 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.AppreciateRelationRepository.
2021-05-22 20:02:09.350 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.CarouselRepository.
2021-05-22 20:02:09.354 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.CollectionRepository.
2021-05-22 20:02:09.358 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.CollocationProductRepository.
2021-05-22 20:02:09.361 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.CollocationRepository.
2021-05-22 20:02:09.364 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.MenuRepository.
2021-05-22 20:02:09.368 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.TagRelationRepository.
2021-05-22 20:02:09.371 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.TagRepository.
2021-05-22 20:02:09.375 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.UserConnectionRepository.
2021-05-22 20:02:09.379 INFO 6216 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huaan9527.mall.webapi.repository.UserRepository.
2021-05-22 20:02:09.380 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 84ms. Found 0 repository interfaces.
2021-05-22 20:02:09.548 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2021-05-22 20:02:09.548 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2021-05-22 20:02:09.632 INFO 6216 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 83ms. Found 10 repository interfaces.
2021-05-22 20:02:10.002 INFO 6216 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$408f1150] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-05-22 20:02:10.616 INFO 6216 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-05-22 20:02:10.666 INFO 6216 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-05-22 20:02:10.666 INFO 6216 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.22]
2021-05-22 20:02:10.856 INFO 6216 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-05-22 20:02:10.856 INFO 6216 --- [ restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3560 ms
2021-05-22 20:02:11.937 WARN 6216 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'QQOAuth2Configuration' defined in file [D:\mall-coupons-server-master\mall-coupons-server-master\target\classes\com\huaan9527\mall\webapi\configuration\QQOAuth2Configuration.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
2021-05-22 20:02:11.973 INFO 6216 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-05-22 20:02:12.002 INFO 6216 --- [ restartedMain] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-05-22 20:02:12.005 ERROR 6216 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

Action:

Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

Process finished with exit code 0

lib dir jar missing

${project.basedir}/lib/taobao-sdk-java-auto_1601627030209-20201002.jar is missing and spring-social-qq 1.0.2 jar can't download

RedisTemplate 启动项目报错啊


APPLICATION FAILED TO START


Description:

Parameter 3 of constructor in com.huaan9527.mall.webapi.controller.PublicController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found.

The following candidates were found but could not be injected:
- Bean method 'redisTemplate' in 'RedisAutoConfiguration' not loaded because @ConditionalOnMissingBean (names: redisTemplate; SearchStrategy: all) found beans named redisTemplate

Action:

Consider revisiting the entries above or defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:65469', transport: 'socket'

Redis注入报错

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'publicController' defined in file [D:\source_code\mall-coupons-server\target\classes\com\huaan9527\mall\webapi\controller\PublicController.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate<java.lang.String, java.lang.Integer>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

转换链接失败

申请了pid绑定到了大淘客
但是点进单品有时还是会转换链接失败, body:{"requestId":"ba25c7b1701aed8bf839b883f37d756b","time":1613729205514,"code":10066,"msg":"请检查site_id和adzone_id是否匹配"}

java -jar mall-coupons-server-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod &运行失败

com.huaan9527.mall.webapi.controller中构造函数的参数3。PublicController需要一个类型为'org.springframework.data.redis.core '的bean。RedisTemplate'无法找到。
找到了下列候选人,但无法注射:

  • 'RedisAutoConfiguration'中的Bean方法'redisTemplate'没有加载,因为@ConditionalOnMissingBean (names: redisTemplate;SearchStrategy: all)发现名为redisTemplate的bean

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.