diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 5a0b447bc..e69de29bb 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +0,0 @@ -custom: http://doc.ruoyi.vip/ruoyi/other/donate.html diff --git a/LICENSE b/LICENSE index bc23291c0..bd0c0a2d7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 RuoYi +Copyright (c) 2024 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index 09a4f7492..e69de29bb 100644 --- a/README.md +++ b/README.md @@ -1,102 +0,0 @@ -

- logo -

-

RuoYi v4.7.8

-

基于SpringBoot开发的轻量级Java快速开发框架

-

- - - -

- -## 平台简介 - -一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适的。于是利用空闲休息时间开始自己写了一套后台系统。如此有了若依。她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 - -性别男,若依是给女儿取的名字(寓意:你若不离不弃,我必生死相依) - -若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 - -* 前后端分离版本,请移步[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud) -* 感谢 [hplus](https://gitee.com/hplus_admin/hplus) 后台主题 UI 框架。 -* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)   -* 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)   - -## 内置功能 - -1. 用户管理:用户是系统操作者,该功能主要完成系统用户配置。 -2. 部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。 -3. 岗位管理:配置系统用户所属担任职务。 -4. 菜单管理:配置系统菜单,操作权限,按钮权限标识等。 -5. 角色管理:角色菜单权限分配、设置角色按机构进行数据范围权限划分。 -6. 字典管理:对系统中经常使用的一些较为固定的数据进行维护。 -7. 参数管理:对系统动态配置常用参数。 -8. 通知公告:系统通知公告信息发布维护。 -9. 操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。 -10. 登录日志:系统登录日志记录查询包含登录异常。 -11. 在线用户:当前系统中活跃用户状态监控。 -12. 定时任务:在线(添加、修改、删除)任务调度包含执行结果日志。 -13. 代码生成:前后端代码的生成(java、html、xml、sql)支持CRUD下载 。 -14. 系统接口:根据业务代码自动生成相关的api接口文档。 -15. 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。 -16. 缓存监控:对系统的缓存查询,删除、清空等操作。 -17. 在线构建器:拖动表单元素生成相应的HTML代码。 -18. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 - -## 在线体验 - -- admin/admin123 -- 陆陆续续收到一些打赏,为了更好的体验已用于演示服务器升级。谢谢各位小伙伴。 - -演示地址:http://ruoyi.vip -文档地址:http://doc.ruoyi.vip - -## 演示图 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -## 若依交流群 - -QQ群: [![加入QQ群](https://img.shields.io/badge/已满-1389287-blue.svg)](https://jq.qq.com/?_wv=1027&k=5HBAaYN) [![加入QQ群](https://img.shields.io/badge/已满-1679294-blue.svg)](https://jq.qq.com/?_wv=1027&k=5cHeRVW) [![加入QQ群](https://img.shields.io/badge/已满-1529866-blue.svg)](https://jq.qq.com/?_wv=1027&k=53R0L5Z) [![加入QQ群](https://img.shields.io/badge/已满-1772718-blue.svg)](https://jq.qq.com/?_wv=1027&k=5g75dCU) [![加入QQ群](https://img.shields.io/badge/已满-1366522-blue.svg)](https://jq.qq.com/?_wv=1027&k=58cPoHA) [![加入QQ群](https://img.shields.io/badge/已满-1382251-blue.svg)](https://jq.qq.com/?_wv=1027&k=5Ofd4Pb) [![加入QQ群](https://img.shields.io/badge/已满-1145125-blue.svg)](https://jq.qq.com/?_wv=1027&k=5yugASz) [![加入QQ群](https://img.shields.io/badge/已满-86752435-blue.svg)](https://jq.qq.com/?_wv=1027&k=5Rf3d2P) [![加入QQ群](https://img.shields.io/badge/已满-134072510-blue.svg)](https://jq.qq.com/?_wv=1027&k=5ZIjaeP) [![加入QQ群](https://img.shields.io/badge/已满-210336300-blue.svg)](https://jq.qq.com/?_wv=1027&k=5CJw1jY) [![加入QQ群](https://img.shields.io/badge/已满-339522636-blue.svg)](https://jq.qq.com/?_wv=1027&k=5omzbKc) [![加入QQ群](https://img.shields.io/badge/已满-130035985-blue.svg)](https://jq.qq.com/?_wv=1027&k=qPIKBb7s) [![加入QQ群](https://img.shields.io/badge/已满-143151071-blue.svg)](https://jq.qq.com/?_wv=1027&k=4NsjKbtU) [![加入QQ群](https://img.shields.io/badge/已满-158781320-blue.svg)](https://jq.qq.com/?_wv=1027&k=VD2pkz2G) [![加入QQ群](https://img.shields.io/badge/已满-201531282-blue.svg)](https://jq.qq.com/?_wv=1027&k=HlshFwkJ) [![加入QQ群](https://img.shields.io/badge/已满-101526938-blue.svg)](https://jq.qq.com/?_wv=1027&k=0ARRrO9V) [![加入QQ群](https://img.shields.io/badge/已满-264355400-blue.svg)](https://jq.qq.com/?_wv=1027&k=up9k3ZXJ) [![加入QQ群](https://img.shields.io/badge/已满-298522656-blue.svg)](https://jq.qq.com/?_wv=1027&k=540WfdEr) [![加入QQ群](https://img.shields.io/badge/已满-139845794-blue.svg)](https://jq.qq.com/?_wv=1027&k=ss91fC4t) [![加入QQ群](https://img.shields.io/badge/已满-185760789-blue.svg)](https://jq.qq.com/?_wv=1027&k=Cqd66IKe) [![加入QQ群](https://img.shields.io/badge/已满-175104288-blue.svg)](https://jq.qq.com/?_wv=1027&k=7FplYUnR) [![加入QQ群](https://img.shields.io/badge/174942938-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=lqMHu_5Fskm7H2S1vNAQTtzAUokVydwc&authKey=ptw0Fpch5pbNocML3CIJKKqZBaq2DI7cusKuzIgfMNiY3t9Pvd9hP%2BA8WYx3yaY1&noverify=0&group_code=174942938) \ No newline at end of file diff --git a/pom.xml b/pom.xml index 61994cff1..377320203 100644 --- a/pom.xml +++ b/pom.xml @@ -8,8 +8,8 @@ 4.7.8 ruoyi - http://www.ruoyi.vip - 若依管理系统 + + 后端管理系统 4.7.8 diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 2e28443e9..9e975bb47 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -77,6 +77,12 @@ 2.5.15 true + + + org.projectlombok + lombok + + @@ -129,6 +135,17 @@ --> ${project.artifactId} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index a0e726bd4..2ecb34adf 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -1,5 +1,6 @@ package com.ruoyi; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -10,6 +11,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; * @author ruoyi */ @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) +@MapperScan("com.ruoyi.system.mapper") public class RuoYiApplication { public static void main(String[] args) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/AccountAddressInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/AccountAddressInfoController.java new file mode 100644 index 000000000..773e69418 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/AccountAddressInfoController.java @@ -0,0 +1,122 @@ +package com.ruoyi.web.controller.account; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.AccountAddressInfo; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.service.IAccountAddressInfoService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 出账账户Controller + * + * @author dorion + * @date 2024-04-13 + */ +@Controller +@RequestMapping("/account/transfer") +public class AccountAddressInfoController extends BaseController +{ + private String prefix = "account/transfer"; + + @Autowired + private IAccountAddressInfoService accountAddressInfoService; + + @RequiresPermissions("account:transfer:view") + @GetMapping() + public String transfer() + { + return prefix + "/transfer"; + } + + /** + * 查询出账账户列表 + */ + @RequiresPermissions("account:transfer:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(AccountAddressInfo accountAddressInfo) throws Exception { + startPage(); + List list = accountAddressInfoService.selectAccountAddressInfoListByResouce(accountAddressInfo); + + return getDataTable(list); + } + + /** + * 导出出账账户列表 + */ + @RequiresPermissions("account:transfer:export") + @Log(title = "出账账户", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(AccountAddressInfo accountAddressInfo) throws Exception { + List list = accountAddressInfoService.selectAccountAddressInfoListByResouce(accountAddressInfo); + ExcelUtil util = new ExcelUtil(AccountAddressInfo.class); + return util.exportExcel(list, "出账账户数据"); + } + + /** + * 新增出账账户 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存出账账户 + */ + @RequiresPermissions("account:transfer:add") + @Log(title = "出账账户", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(AccountAddressInfo accountAddressInfo) throws Exception { + return toAjax(accountAddressInfoService.insertAccountAddressInfo(accountAddressInfo)); + } + + /** + * 修改出账账户 + */ + @RequiresPermissions("account:transfer:edit") + @GetMapping("/edit/{idAccoutAddressInfo}") + public String edit(@PathVariable("idAccoutAddressInfo") Long idAccoutAddressInfo, ModelMap mmap) + { + AccountAddressInfo accountAddressInfo = accountAddressInfoService.selectAccountAddressInfoByIdAccoutAddressInfo(idAccoutAddressInfo); + mmap.put("accountAddressInfo", accountAddressInfo); + return prefix + "/edit"; + } + + /** + * 修改保存出账账户 + */ + @RequiresPermissions("account:transfer:edit") + @Log(title = "出账账户", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(AccountAddressInfo accountAddressInfo) throws Exception { + return toAjax(accountAddressInfoService.updateAccountAddressInfo(accountAddressInfo)); + } + + /** + * 删除出账账户 + */ + @RequiresPermissions("account:transfer:remove") + @Log(title = "出账账户", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(accountAddressInfoService.deleteAccountAddressInfoByIdAccoutAddressInfos(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/FreezeBalanceInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/FreezeBalanceInfoController.java new file mode 100644 index 000000000..789c4a05e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/FreezeBalanceInfoController.java @@ -0,0 +1,128 @@ +package com.ruoyi.web.controller.account; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.FreezeBalanceInfo; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.service.IAccountAddressInfoService; +import com.ruoyi.system.service.IFreezeBalanceInfoService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 抵押流水记录Controller + * + * @author dorion + * @date 2024-04-13 + */ +@Controller +@RequestMapping("/account/freeze") +public class FreezeBalanceInfoController extends BaseController +{ + private String prefix = "account/freeze"; + + @Autowired + private IFreezeBalanceInfoService freezeBalanceInfoService; + + @Autowired + private IAccountAddressInfoService accountAddressInfoService; + + @RequiresPermissions("account:freeze:view") + @GetMapping() + public String freeze() + { + return prefix + "/freeze"; + } + + /** + * 查询抵押流水记录列表 + */ + @RequiresPermissions("account:freeze:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(FreezeBalanceInfo freezeBalanceInfo) + { + startPage(); + List list = freezeBalanceInfoService.selectFreezeBalanceInfoList(freezeBalanceInfo); + return getDataTable(list); + } + + /** + * 导出抵押流水记录列表 + */ + @RequiresPermissions("account:freeze:export") + @Log(title = "抵押流水记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(FreezeBalanceInfo freezeBalanceInfo) + { + List list = freezeBalanceInfoService.selectFreezeBalanceInfoList(freezeBalanceInfo); + ExcelUtil util = new ExcelUtil(FreezeBalanceInfo.class); + return util.exportExcel(list, "抵押流水记录数据"); + } + + /** + * 新增抵押流水记录 + */ + @GetMapping("/add") + public String add(ModelMap mmap) + { + mmap.put("accountAddressList", accountAddressInfoService.selectAccountAddressInfoAll()); + return prefix + "/add"; + } + + /** + * 新增保存抵押流水记录 + */ + @RequiresPermissions("account:freeze:add") + @Log(title = "抵押流水记录", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(FreezeBalanceInfo freezeBalanceInfo) throws Exception { + return toAjax(freezeBalanceInfoService.insertFreezeBalanceInfo(freezeBalanceInfo)); + } + + /** + * 修改抵押流水记录 + */ + @RequiresPermissions("account:freeze:edit") + @GetMapping("/edit/{idFreezeBalanceInfo}") + public String edit(@PathVariable("idFreezeBalanceInfo") Long idFreezeBalanceInfo, ModelMap mmap) + { + FreezeBalanceInfo freezeBalanceInfo = freezeBalanceInfoService.selectFreezeBalanceInfoByIdFreezeBalanceInfo(idFreezeBalanceInfo); + mmap.put("freezeBalanceInfo", freezeBalanceInfo); + return prefix + "/edit"; + } + + /** + * 修改保存抵押流水记录 + */ + @RequiresPermissions("account:freeze:edit") + @Log(title = "抵押流水记录", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(FreezeBalanceInfo freezeBalanceInfo) + { + return toAjax(freezeBalanceInfoService.updateFreezeBalanceInfo(freezeBalanceInfo)); + } + + /** + * 删除抵押流水记录 + */ + @RequiresPermissions("account:freeze:remove") + @Log(title = "抵押流水记录", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(freezeBalanceInfoService.deleteFreezeBalanceInfoByIdFreezeBalanceInfos(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/MonitorAddressInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/MonitorAddressInfoController.java new file mode 100644 index 000000000..d75d6f9c6 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/MonitorAddressInfoController.java @@ -0,0 +1,129 @@ +package com.ruoyi.web.controller.account; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.MonitorAddressInfo; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.service.IAccountAddressInfoService; +import com.ruoyi.system.service.IMonitorAddressInfoService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 监听账户入账Controller + * + * @author dorion + * @date 2024-04-13 + */ +@Controller +@RequestMapping("/account/monitor") +public class MonitorAddressInfoController extends BaseController +{ + private String prefix = "account/monitor"; + + @Autowired + private IMonitorAddressInfoService monitorAddressInfoService; + @Autowired + private IAccountAddressInfoService accountAddressInfoService; + + @RequiresPermissions("account:monitor:view") + @GetMapping() + public String monitor() + { + return prefix + "/monitor"; + } + + /** + * 查询监听账户入账列表 + */ + @RequiresPermissions("account:monitor:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(MonitorAddressInfo monitorAddressInfo) + { + startPage(); + List list = monitorAddressInfoService.selectMonitorAddressInfoList(monitorAddressInfo); + return getDataTable(list); + } + + /** + * 导出监听账户入账列表 + */ + @RequiresPermissions("account:monitor:export") + @Log(title = "监听账户入账", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(MonitorAddressInfo monitorAddressInfo) + { + List list = monitorAddressInfoService.selectMonitorAddressInfoList(monitorAddressInfo); + ExcelUtil util = new ExcelUtil(MonitorAddressInfo.class); + return util.exportExcel(list, "监听账户入账数据"); + } + + /** + * 新增监听账户入账 + */ + @GetMapping("/add") + public String add(ModelMap mmap) + { + mmap.put("accountAddressList", accountAddressInfoService.selectAccountAddressInfoAll()); + return prefix + "/add"; + } + + /** + * 新增保存监听账户入账 + */ + @RequiresPermissions("account:monitor:add") + @Log(title = "监听账户入账", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(MonitorAddressInfo monitorAddressInfo) + { + return toAjax(monitorAddressInfoService.insertMonitorAddressInfo(monitorAddressInfo)); + } + + /** + * 修改监听账户入账 + */ + @RequiresPermissions("account:monitor:edit") + @GetMapping("/edit/{idMonitorAddress}") + public String edit(@PathVariable("idMonitorAddress") Long idMonitorAddress, ModelMap mmap) + { + MonitorAddressInfo monitorAddressInfo = monitorAddressInfoService.selectMonitorAddressInfoByIdMonitorAddress(idMonitorAddress); + mmap.put("monitorAddressInfo", monitorAddressInfo); + mmap.put("accountAddressList", accountAddressInfoService.selectAccountAddressInfoAll()); + return prefix + "/edit"; + } + + /** + * 修改保存监听账户入账 + */ + @RequiresPermissions("account:monitor:edit") + @Log(title = "监听账户入账", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(MonitorAddressInfo monitorAddressInfo) + { + return toAjax(monitorAddressInfoService.updateMonitorAddressInfo(monitorAddressInfo)); + } + + /** + * 删除监听账户入账 + */ + @RequiresPermissions("account:monitor:remove") + @Log(title = "监听账户入账", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(monitorAddressInfoService.deleteMonitorAddressInfoByIdMonitorAddresss(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/TenantInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/TenantInfoController.java new file mode 100644 index 000000000..66c9a9dd7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/account/TenantInfoController.java @@ -0,0 +1,142 @@ +package com.ruoyi.web.controller.account; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.MonitorAddressInfo; +import com.ruoyi.common.core.domain.entity.TenantInfo; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.service.IMonitorAddressInfoService; +import com.ruoyi.system.service.ITenantInfoService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 租户Controller + * + * @author dorion + * @date 2024-04-14 + */ +@Controller +@RequestMapping("/account/tenant") +public class TenantInfoController extends BaseController +{ + private String prefix = "account/tenant"; + + @Autowired + private ITenantInfoService tenantInfoService; + @Autowired + private IMonitorAddressInfoService monitorAddressInfoService; + + @RequiresPermissions("account:tenant:view") + @GetMapping() + public String tenant() + { + return prefix + "/tenant"; + } + + /** + * 查询租户列表 + */ + @RequiresPermissions("account:tenant:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(TenantInfo tenantInfo) + { + startPage(); + List list = tenantInfoService.selectTenantInfoList(tenantInfo); + return getDataTable(list); + } + + /** + * 导出租户列表 + */ + @RequiresPermissions("account:tenant:export") + @Log(title = "租户", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(TenantInfo tenantInfo) + { + List list = tenantInfoService.selectTenantInfoList(tenantInfo); + ExcelUtil util = new ExcelUtil(TenantInfo.class); + return util.exportExcel(list, "租户数据"); + } + + /** + * 新增租户 + */ + @GetMapping("/add") + public String add(ModelMap mmap) + { + + List monitorAddressAccountList = monitorAddressInfoService.selectAllValidMonitorAddressAccount(); + mmap.put("monitorAddressInfoList", monitorAddressAccountList); + return prefix + "/add"; + } + + /** + * 新增保存租户 + */ + @RequiresPermissions("account:tenant:add") + @Log(title = "租户", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(TenantInfo tenantInfo) + { + return toAjax(tenantInfoService.insertTenantInfo(tenantInfo)); + } + + /** + * 修改租户 + */ + @RequiresPermissions("account:tenant:edit") + @GetMapping("/edit/{idTenantInfo}") + public String edit(@PathVariable("idTenantInfo") Long idTenantInfo, ModelMap mmap) + { + TenantInfo tenantInfo = tenantInfoService.selectTenantInfoByIdTenantInfo(idTenantInfo); + mmap.put("tenantInfo", tenantInfo); + + List monitorAddressInfoList = monitorAddressInfoService.selectAllValidMonitorAddressAccount(); + mmap.put("monitorAddressInfoList", monitorAddressInfoList); + return prefix + "/edit"; + } + + /** + * 修改保存租户 + */ + @RequiresPermissions("account:tenant:edit") + @Log(title = "租户", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(TenantInfo tenantInfo) + { + return toAjax(tenantInfoService.updateTenantInfo(tenantInfo)); + } + + /** + * 删除租户 + */ + @RequiresPermissions("account:tenant:remove") + @Log(title = "租户", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(tenantInfoService.deleteTenantInfoByIdTenantInfos(ids)); + } + + @RequiresPermissions("account:tenant:add") + @Log(title = "租户", businessType = BusinessType.ACTIVE_DATA) + @PostMapping( "/activeData") + @ResponseBody + public AjaxResult activeData(String ids) throws Exception { + return toAjax(tenantInfoService.activeDataTenantInfoByIdTenantInfos(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exchange/TrxExchangeInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exchange/TrxExchangeInfoController.java new file mode 100644 index 000000000..f6e463bcc --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exchange/TrxExchangeInfoController.java @@ -0,0 +1,128 @@ +package com.ruoyi.web.controller.exchange; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.TrxExchangeInfo; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.domain.TrxExchange; +import com.ruoyi.system.service.IAccountAddressInfoService; +import com.ruoyi.system.service.ITrxExchangeInfoService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * trx兑能量记录Controller + * + * @author dorion + * @date 2024-04-13 + */ +@Controller +@RequestMapping("/exchange/trx") +public class TrxExchangeInfoController extends BaseController +{ + private String prefix = "exchange/trx"; + + @Autowired + private ITrxExchangeInfoService trxExchangeInfoService; + + @Autowired + private IAccountAddressInfoService accountAddressInfoService; + + @RequiresPermissions("exchange:trx:view") + @GetMapping() + public String trx() + { + return prefix + "/trx"; + } + + /** + * 查询trx兑能量记录列表 + */ + @RequiresPermissions("exchange:trx:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(TrxExchangeInfo trxExchangeInfo) + { + startPage(); + List list = trxExchangeInfoService.selectTrxExchangeInfoList(trxExchangeInfo); + return getDataTable(list); + } + + /** + * 导出trx兑能量记录列表 + */ + @RequiresPermissions("exchange:trx:export") + @Log(title = "trx兑能量记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(TrxExchangeInfo trxExchangeInfo) + { + List list = trxExchangeInfoService.selectTrxExchangeInfoList(trxExchangeInfo); + ExcelUtil util = new ExcelUtil(TrxExchangeInfo.class); + return util.exportExcel(list, "trx兑能量记录数据"); + } + + /** + * 新增trx兑能量记录 + */ + @GetMapping("/add") + public String add(ModelMap mmap) + { mmap.put("accountAddressList", accountAddressInfoService.selectAccountAddressInfoAll()); + return prefix + "/add"; + } + + /** + * 新增保存trx兑能量记录 + */ + @RequiresPermissions("exchange:trx:add") + @Log(title = "trx兑能量记录", businessType = BusinessType.INSERT) + @PostMapping("/delegate") + @ResponseBody + public AjaxResult delegate(TrxExchange trxExchange) throws Exception { + return toAjax(trxExchangeInfoService.delegate(trxExchange,false)); + } + + /** + * 修改trx兑能量记录 + */ + @RequiresPermissions("exchange:trx:edit") + @GetMapping("/edit/{idTrxExchangeInfo}") + public String edit(@PathVariable("idTrxExchangeInfo") Long idTrxExchangeInfo, ModelMap mmap) + { + TrxExchangeInfo trxExchangeInfo = trxExchangeInfoService.selectTrxExchangeInfoByIdTrxExchangeInfo(idTrxExchangeInfo); + mmap.put("trxExchangeInfo", trxExchangeInfo); + return prefix + "/edit"; + } + + /** + * 修改保存trx兑能量记录 + */ + @RequiresPermissions("exchange:trx:edit") + @Log(title = "trx兑能量记录", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(TrxExchangeInfo trxExchangeInfo) + { + return toAjax(trxExchangeInfoService.updateTrxExchangeInfo(trxExchangeInfo)); + } + + /** + * 删除trx兑能量记录 + */ + @RequiresPermissions("exchange:trx:remove") + @Log(title = "trx兑能量记录", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(trxExchangeInfoService.deleteTrxExchangeInfoByIdTrxExchangeInfos(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ErrorLogController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ErrorLogController.java new file mode 100644 index 000000000..0d515c466 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ErrorLogController.java @@ -0,0 +1,124 @@ +package com.ruoyi.web.controller.monitor; + +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.ErrorLog; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.service.IErrorLogService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 错误日志Controller + * + * @author dorion + * @date 2024-04-14 + */ +@Controller +@RequestMapping("/monitor/err") +public class ErrorLogController extends BaseController +{ + private String prefix = "monitor/err"; + + @Autowired + private IErrorLogService errorLogService; + + @RequiresPermissions("monitor:err:view") + @GetMapping() + public String err() + { + return prefix + "/err"; + } + + /** + * 查询错误日志列表 + */ + @RequiresPermissions("monitor:err:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ErrorLog errorLog) + { + startPage(); + List list = errorLogService.selectErrorLogList(errorLog); + return getDataTable(list); + } + + /** + * 导出错误日志列表 + */ + @RequiresPermissions("monitor:err:export") + @Log(title = "错误日志", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ErrorLog errorLog) + { + List list = errorLogService.selectErrorLogList(errorLog); + ExcelUtil util = new ExcelUtil(ErrorLog.class); + return util.exportExcel(list, "错误日志数据"); + } + + /** + * 新增错误日志 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存错误日志 + */ + @RequiresPermissions("monitor:err:add") + @Log(title = "错误日志", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ErrorLog errorLog) + { + return toAjax(errorLogService.insertErrorLog(errorLog)); + } + + /** + * 修改错误日志 + */ + @RequiresPermissions("monitor:err:edit") + @GetMapping("/edit/{idErrorLog}") + public String edit(@PathVariable("idErrorLog") Long idErrorLog, ModelMap mmap) + { + ErrorLog errorLog = errorLogService.selectErrorLogByIdErrorLog(idErrorLog); + mmap.put("errorLog", errorLog); + return prefix + "/edit"; + } + + /** + * 修改保存错误日志 + */ + @RequiresPermissions("monitor:err:edit") + @Log(title = "错误日志", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ErrorLog errorLog) + { + return toAjax(errorLogService.updateErrorLog(errorLog)); + } + + /** + * 删除错误日志 + */ + @RequiresPermissions("monitor:err:remove") + @Log(title = "错误日志", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(errorLogService.deleteErrorLogByIdErrorLogs(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/core/config/RedisConfig.java b/ruoyi-admin/src/main/java/com/ruoyi/web/core/config/RedisConfig.java new file mode 100644 index 000000000..f03b7c903 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/core/config/RedisConfig.java @@ -0,0 +1,105 @@ +package com.ruoyi.web.core.config; + +import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.PropertyAccessor; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.cache.annotation.CachingConfigurerSupport; +import org.springframework.cache.annotation.EnableCaching; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.connection.RedisConnectionFactory; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.data.redis.listener.PatternTopic; +import org.springframework.data.redis.listener.RedisMessageListenerContainer; +import org.springframework.data.redis.listener.adapter.MessageListenerAdapter; +import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; +import org.springframework.data.redis.serializer.StringRedisSerializer; + +import java.util.concurrent.CountDownLatch; + +/** + * redis配置 + * + * @author pangjianhui + */ +@Configuration +@EnableCaching +public class RedisConfig extends CachingConfigurerSupport { + + @Bean + RedisMessageListenerContainer container(RedisConnectionFactory connectionFactory, + MessageListenerAdapter listenerAdapter) { + + RedisMessageListenerContainer container = new RedisMessageListenerContainer(); + container.setConnectionFactory(connectionFactory); + container.addMessageListener(listenerAdapter, new PatternTopic("chat")); + + return container; + } + + + @Bean + MessageListenerAdapter listenerAdapter(Receiver receiver) { + return new MessageListenerAdapter(receiver, "receiveMessage"); + } + + @Bean + Receiver receiver(CountDownLatch latch) { + return new Receiver(latch); + } + + @Bean + CountDownLatch latch() { + return new CountDownLatch(1); + } + + @Bean + StringRedisTemplate template(RedisConnectionFactory connectionFactory) { + + return new StringRedisTemplate(connectionFactory); + } + + + @Bean + @SuppressWarnings("all") + public RedisTemplate redisTemplate(RedisConnectionFactory factory) { + RedisTemplate template = new RedisTemplate(); + template.setConnectionFactory(factory); + Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer(Object.class); + ObjectMapper om = new ObjectMapper(); + om.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); + om.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL); + jackson2JsonRedisSerializer.setObjectMapper(om); + StringRedisSerializer stringRedisSerializer = new StringRedisSerializer(); + // key采用String的序列化方式 + template.setKeySerializer(stringRedisSerializer); + // hash的key也采用String的序列化方式 + template.setHashKeySerializer(stringRedisSerializer); + // value序列化方式采用jackson + template.setValueSerializer(jackson2JsonRedisSerializer); + // hash的value序列化方式采用jackson + template.setHashValueSerializer(jackson2JsonRedisSerializer); + template.afterPropertiesSet(); + return template; + } + + + public class Receiver { + + + private CountDownLatch latch; + + @Autowired + public Receiver(CountDownLatch latch) { + this.latch = latch; + } + + public void receiveMessage(String message) { + latch.countDown(); + } + } + + +} diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index a69d8feb2..3f033387a 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://localhost:3306/tg_trx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: password + password: root # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 0dc885f68..7ee7d7a00 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 80 + port: 8080 servlet: # 应用的访问路径 context-path: / @@ -73,6 +73,28 @@ spring: # 热部署开关 enabled: true + redis: + # Redis数据库索引(默认为0) + database: 4 + # Redis服务器地址 + host: 127.0.0.1 + # Redis服务器连接端口 + port: 6379 + # Redis服务器连接密码(默认为空) + password: myredis + jedis: + pool: + # 连接池最大连接数(使用负值表示没有限制) + max-active: 8 + # 连接池最大阻塞等待时间(使用负值表示没有限制) + max-wait: -1 + # 连接池中的最大空闲连接 + max-idle: 8 + # 连接池中的最小空闲连接 + min-idle: 0 + # 连接超时时间(毫秒) + timeout: 2000 + # MyBatis mybatis: # 搜索指定包别名 @@ -81,6 +103,8 @@ mybatis: mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml + configuration: + map-underscore-to-camel-case: true # PageHelper分页插件 pagehelper: @@ -140,3 +164,5 @@ xss: swagger: # 是否开启swagger enabled: true + + diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 6c6d0216a..44f47baa3 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -1103,6 +1103,19 @@ var table = { } return url; }, + //触发 + activeData: function(id) { + table.set(); + $.modal.confirm("确定手动发起" + table.options.modalName + "交易吗?", function() { + var url = $.common.isEmpty(id) ? table.options.activeDataUrl : table.options.activeDataUrl.replace("{id}", id); + if (table.options.type == table_type.bootstrapTreeTable) { + $.operate.get(url); + } else { + var data = { "ids": id }; + $.operate.submit(url, "post", "json", data); + } + }); + }, // 删除信息 remove: function(id) { table.set(); diff --git a/ruoyi-admin/src/main/resources/templates/account/freeze/add.html b/ruoyi-admin/src/main/resources/templates/account/freeze/add.html new file mode 100644 index 000000000..a3bd6e806 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/freeze/add.html @@ -0,0 +1,54 @@ + + + + + + + +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/freeze/edit.html b/ruoyi-admin/src/main/resources/templates/account/freeze/edit.html new file mode 100644 index 000000000..861262522 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/freeze/edit.html @@ -0,0 +1,76 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/freeze/freeze.html b/ruoyi-admin/src/main/resources/templates/account/freeze/freeze.html new file mode 100644 index 000000000..4e31262e7 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/freeze/freeze.html @@ -0,0 +1,135 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • + +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/monitor/add.html b/ruoyi-admin/src/main/resources/templates/account/monitor/add.html new file mode 100644 index 000000000..dceb18328 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/monitor/add.html @@ -0,0 +1,65 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/monitor/edit.html b/ruoyi-admin/src/main/resources/templates/account/monitor/edit.html new file mode 100644 index 000000000..1dc951030 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/monitor/edit.html @@ -0,0 +1,80 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/monitor/monitor.html b/ruoyi-admin/src/main/resources/templates/account/monitor/monitor.html new file mode 100644 index 000000000..090217906 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/monitor/monitor.html @@ -0,0 +1,160 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • + +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/tenant/add.html b/ruoyi-admin/src/main/resources/templates/account/tenant/add.html new file mode 100644 index 000000000..5500dfbc6 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/tenant/add.html @@ -0,0 +1,75 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/tenant/edit.html b/ruoyi-admin/src/main/resources/templates/account/tenant/edit.html new file mode 100644 index 000000000..0be523564 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/tenant/edit.html @@ -0,0 +1,108 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + + +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/tenant/tenant.html b/ruoyi-admin/src/main/resources/templates/account/tenant/tenant.html new file mode 100644 index 000000000..1add315ef --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/tenant/tenant.html @@ -0,0 +1,163 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/transfer/add.html b/ruoyi-admin/src/main/resources/templates/account/transfer/add.html new file mode 100644 index 000000000..f6e0cc30c --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/transfer/add.html @@ -0,0 +1,39 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/transfer/edit.html b/ruoyi-admin/src/main/resources/templates/account/transfer/edit.html new file mode 100644 index 000000000..3bddc7fa5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/transfer/edit.html @@ -0,0 +1,41 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/account/transfer/transfer.html b/ruoyi-admin/src/main/resources/templates/account/transfer/transfer.html new file mode 100644 index 000000000..17022ed60 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/account/transfer/transfer.html @@ -0,0 +1,145 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html b/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html index ef80a3dec..b4ec32000 100644 --- a/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html +++ b/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html @@ -19,18 +19,18 @@

diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/summernote.html b/ruoyi-admin/src/main/resources/templates/demo/form/summernote.html index a14b04319..b61192e7e 100644 --- a/ruoyi-admin/src/main/resources/templates/demo/form/summernote.html +++ b/ruoyi-admin/src/main/resources/templates/demo/form/summernote.html @@ -14,7 +14,7 @@
-

若依后台管理系统

+

feeen后台管理系统

ruoyi是一个完全响应式,基于Bootstrap3.3.7最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术,她提供了诸多的强大的可以重新组合的UI组件,并集成了最新的jQuery版本(v2.1.1),当然,也集成了很多功能强大,用途广泛的就jQuery插件,她可以用于所有的Web应用程序,如网站管理后台网站会员中心CMSCRMOA等等,当然,您也可以对她进行深度定制,以做出更强系统。

当前版本:v4.7.8 @@ -53,7 +53,7 @@

-

你好,若依

+

你好,feeen

H+是一个完全响应式,基于Bootstrap3.3.7最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术,她提供了诸多的强大的可以重新组合的UI组件,并集成了最新的jQuery版本(v2.1.1),当然,也集成了很多功能强大,用途广泛的就jQuery插件,她可以用于所有的Web应用程序,如网站管理后台网站会员中心CMSCRMOA等等,当然,您也可以对她进行深度定制,以做出更强系统。

当前版本:v4.7.8 diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html b/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html index 1dc924fa6..65d986ff5 100644 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html +++ b/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html @@ -259,7 +259,7 @@ $("#button-open-16").click(function(){ var json = { - "title": "若依相册", //相册标题 + "title": "feeen相册", //相册标题 "id": 123, //相册id "start": 0, //初始显示的图片序号,默认0 "data": [ //相册包含的图片,数组格式 diff --git a/ruoyi-admin/src/main/resources/templates/exchange/trx/add.html b/ruoyi-admin/src/main/resources/templates/exchange/trx/add.html new file mode 100644 index 000000000..0eca8729e --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/exchange/trx/add.html @@ -0,0 +1,129 @@ + + + + + + + +

+
+
+ +
+ +
+
+ +
+ +
+ + +
+
+ + +
+ +
+ +
+
+ +
+ + +
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/exchange/trx/edit.html b/ruoyi-admin/src/main/resources/templates/exchange/trx/edit.html new file mode 100644 index 000000000..662f3923f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/exchange/trx/edit.html @@ -0,0 +1,39 @@ + + + + + + + +
+
+ +
+ +
+ + +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/exchange/trx/trx.html b/ruoyi-admin/src/main/resources/templates/exchange/trx/trx.html new file mode 100644 index 000000000..f3ccb93ef --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/exchange/trx/trx.html @@ -0,0 +1,196 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + +
  • + + +
  • +


    + +
  • + + +
  • + +
  • + + +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/index-topnav.html b/ruoyi-admin/src/main/resources/templates/index-topnav.html index 2d99720de..5584f8060 100644 --- a/ruoyi-admin/src/main/resources/templates/index-topnav.html +++ b/ruoyi-admin/src/main/resources/templates/index-topnav.html @@ -4,7 +4,7 @@ - 若依系统首页 + feeen系统首页 @@ -27,7 +27,7 @@
diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html index 22377fd7b..b1d9e562a 100644 --- a/ruoyi-admin/src/main/resources/templates/index.html +++ b/ruoyi-admin/src/main/resources/templates/index.html @@ -4,7 +4,7 @@ - 若依系统首页 + feeen系统首页 @@ -26,7 +26,7 @@
@@ -193,7 +86,6 @@