This action will force synchronization from freeter/飞特商城后台管理系统, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
**- 飞特 的目标是接近 人工智能 。 **
**
freeter-coding
freeter-admin 后台管理
freeter-common 公共模块
freeter-good 商品模块
freeter-user 会员模块
freeter-job 定时任务模块
freeter-api 移动端接口模块
freeter-generator 独立代码生成器模块
频道列表: 可以理解为一级分类, 特殊的分类 底下可以不挂分类也可以挂视频,图片等等。
商品分类:有两级分类 商品可以修改二级分类 一级分类可以修改 因为一级分类绑定了规格而二级分类没有。
商品规格: 可以设置通用规格 也可以与一级分类绑定设置规格。商品规格可以重置 可以删除
商品基础功能全部完成。
会员管理
软件需求
1.git下载https://gitee.com/xcOschina/freeter-admin.git项目,完成后导入到ide中
2.eclipse File import... Maven Existing Projects into Workspace 选择项目的根路径。
3.IDE会下载maven依赖包,自动编译 如果有报错 请update project... jdk环境配置。
4.执行doc/freeter.sql文件,初始化数据【按需导入表结构及数据】
5.最后修改数据库连接参数,配置文件在src/main/resources/application.yml
6.j2cache:
config-location: /cache/j2cache-no.properties
open-spring-cache: true
j2cache-no.properties 就是不使用缓存
j2cache-redis.properties redis 使用二级缓存
j2cache-caffeine.properties 使用一级缓存
7.在freeter-coding目录下,执行mvn clean install
8、如何运行
** 后端项目演示**
如何交流、反馈、参与贡献?
gitee仓库:https://gitee.com/xcOschina/freeter-admin.git![输入图片说明]
github仓库:暂不考虑,支持国产
如需关注项目最新动态,请Watch、Star项目,同时也是对项目最好的支持
技术讨论、二次开发等咨询、问题和建议,请移步到官方免费QQ群,我会在第一时间进行解答和回复!
微信扫码并关注【飞特开源】,获得项目最新动态及更新提醒,暂未开放
点击链接加入群聊【飞特开源技术交流】:https://jq.qq.com/?_wv=1027&k=5DJ0G9i
代码生成器:
- 项目结构
- 通过注解可以实现like查询并支持多表
后端模块自动生成的实体类:
@TableName("cn_good")
@ApiModel(value = "Good")
public class GoodEntity<T> implements Serializable {
private static final long serialVersionUID = 1L;
public GoodEntity() {
}
public GoodEntity(T t) {
try {
BeanUtils.copyProperties(this, t);
} catch (IllegalAccessException | InvocationTargetException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/**
* 商品ID
*/
@TableId
@ApiModelProperty(value = "商品ID",hidden = true)
private Integer goodId;
/**
* 商品名称
*/
@NotBlank (message = "商品名称不能为空")
@ApiModelProperty(value = "商品名称")
private String goodName;
mapper 有外键自动生成多表关联语句:
<select id="selectListView"
resultType="com.freeter.modules.pc.entity.view.StudentView">
SELECT student.* FROM t_student student
left join t_professional professional on `
professional.professional_id = student.professional_id left join t_school school on school.school_id = student.school_id
<where> 1=1 ${ew.sqlSegment}</where>
</select>`
特别鸣谢:
baomidou / mybatis-plus
红薯 / J2Cache
!
Sign in for post a comment
Comments ( 0 )