diff --git a/ruoyi-system/pom.xml b/ruoyi-system/pom.xml
new file mode 100644
index 0000000..f54b0fb
--- /dev/null
+++ b/ruoyi-system/pom.xml
@@ -0,0 +1,37 @@
+
+
+
+ ruoyi
+ com.ruoyi
+ 3.4.0
+
+ 4.0.0
+
+ ruoyi-system
+
+
+ system系统模块
+
+
+
+
+ com.github.binarywang
+ weixin-java-miniapp
+ 4.0.0
+
+
+ com.baomidou
+ mybatis-plus-extension
+ 3.4.0
+
+
+
+ com.ruoyi
+ ruoyi-common
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppApiKeysController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppApiKeysController.java
new file mode 100644
index 0000000..a2e6771
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppApiKeysController.java
@@ -0,0 +1,168 @@
+package com.ruoyi.system.controller;
+
+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.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.select.Ids;
+import com.ruoyi.common.select.SelectItem;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.system.domain.AppApiKeys;
+import com.ruoyi.system.domain.AppApiKeysPlus;
+import com.ruoyi.system.service.IAppApiKeysService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 应用密钥Controller
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@RestController
+@RequestMapping("/system/keys" )
+public class AppApiKeysController extends BaseController {
+ @Autowired
+ private IAppApiKeysService appApiKeysService;
+
+ @PreAuthorize("@ss.hasPermi('system:keys:getByIds')" )
+ @PostMapping("/getByIds" )
+ public AjaxResult getByIds(@RequestBody Ids ids) {
+ List list = appApiKeysService.getByIds(ids.getLongIds(), false, AppApiKeysPlus::getApiSecret, AppApiKeysPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:keys:user-getByIds')" )
+ @PostMapping("/user/getByIds" )
+ public AjaxResult userGetByIds(@RequestBody Ids ids) {
+ List list = appApiKeysService.getByIds(ids.getLongIds(), true, AppApiKeysPlus::getApiSecret,AppApiKeysPlus::getUserId, AppApiKeysPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:keys:select')" )
+ @GetMapping("/select" )
+ public AjaxResult select(String keyword) {
+ List list = appApiKeysService.select(keyword, false);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:keys:user-select')" )
+ @GetMapping("/user/select" )
+ public AjaxResult userSelect(String keyword) {
+ List list = appApiKeysService.select(keyword, true);
+ return AjaxResult.success(list);
+ }
+
+ /**
+ * 查询应用密钥列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:list')" )
+ @GetMapping("/list" )
+ public TableDataInfo list(AppApiKeys appApiKeys) {
+ startPage();
+ List list = appApiKeysService.selectAppApiKeysList(appApiKeys, false);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询应用密钥列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:user-list')" )
+ @GetMapping("/user/list" )
+ public TableDataInfo userList(AppApiKeys appApiKeys) {
+ startPage();
+ List list = appApiKeysService.selectAppApiKeysList(appApiKeys, true);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出应用密钥列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:export')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.EXPORT)
+ @GetMapping("/export" )
+ public AjaxResult export(AppApiKeys appApiKeys) {
+ List list = appApiKeysService.selectAppApiKeysList(appApiKeys, false);
+ ExcelUtil util = new ExcelUtil(AppApiKeys.class);
+ return util.exportExcel(list, "keys" );
+ }
+
+ /**
+ * 获取应用密钥详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:query')" )
+ @GetMapping(value = "/{id}" )
+ public AjaxResult getInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(appApiKeysService.selectAppApiKeysById(id, false));
+ }
+
+ /**
+ * 获取应用密钥详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:user-query')" )
+ @GetMapping(value = "/user/{id}" )
+ public AjaxResult userGetInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(appApiKeysService.selectAppApiKeysById(id, true));
+ }
+
+ /**
+ * 新增应用密钥
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:add')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody AppApiKeys appApiKeys) {
+ return toAjax(appApiKeysService.insertAppApiKeys(appApiKeys, false));
+ }
+
+ /**
+ * 新增应用密钥
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:user-add')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.INSERT)
+ @PostMapping("/user" )
+ public AjaxResult userAdd(@RequestBody AppApiKeys appApiKeys) {
+ return toAjax(appApiKeysService.insertAppApiKeys(appApiKeys, true));
+ }
+
+ /**
+ * 修改应用密钥
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:edit')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody AppApiKeys appApiKeys) {
+ return toAjax(appApiKeysService.updateAppApiKeys(appApiKeys, false));
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:keys:user-edit')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.UPDATE)
+ @PutMapping("/user" )
+ public AjaxResult userEdit(@RequestBody AppApiKeys appApiKeys) {
+ return toAjax(appApiKeysService.updateAppApiKeys(appApiKeys, true));
+ }
+
+ /**
+ * 删除应用密钥
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:remove')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}" )
+ public AjaxResult remove(@PathVariable Long[] ids) {
+ return toAjax(appApiKeysService.deleteAppApiKeysByIds(ids, false));
+ }
+
+ /**
+ * 删除应用密钥
+ */
+ @PreAuthorize("@ss.hasPermi('system:keys:user-remove')" )
+ @Log(title = "应用密钥" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/user/{ids}" )
+ public AjaxResult userRemove(@PathVariable Long[] ids) {
+ return toAjax(appApiKeysService.deleteAppApiKeysByIds(ids, true));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppsController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppsController.java
new file mode 100644
index 0000000..87f6581
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AppsController.java
@@ -0,0 +1,175 @@
+package com.ruoyi.system.controller;
+import com.ruoyi.common.select.Ids;
+import com.ruoyi.common.select.SelectItem;
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Apps;
+import com.ruoyi.system.domain.AppsPlus;
+import com.ruoyi.system.service.IAppsService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 应用管理Controller
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@RestController
+@RequestMapping("/system/apps")
+public class AppsController extends BaseController
+{
+ @Autowired
+ private IAppsService appsService;
+ @PreAuthorize("@ss.hasPermi('system:apps:getByIds')")
+ @PostMapping("/getByIds")
+ public AjaxResult getByIds(@RequestBody Ids ids)
+ {
+ List list = appsService.getByIds(ids.getLongIds(),false,AppsPlus::getName,AppsPlus::getId);
+ return AjaxResult.success(list);
+ }
+ @PreAuthorize("@ss.hasPermi('system:apps:user-getByIds')")
+ @PostMapping("/user/getByIds")
+ public AjaxResult userGetByIds(@RequestBody Ids ids)
+ {
+ List list = appsService.getByIds(ids.getLongIds(),true,AppsPlus::getName,AppsPlus::getUserId,AppsPlus::getId);
+ return AjaxResult.success(list);
+ }
+ @PreAuthorize("@ss.hasPermi('system:apps:select')")
+ @GetMapping("/select")
+ public AjaxResult select(String keyword)
+ {
+ List list = appsService.select(keyword,false);
+ return AjaxResult.success(list);
+ }
+ @PreAuthorize("@ss.hasPermi('system:apps:user-select')")
+ @GetMapping("/user/select")
+ public AjaxResult userSelect(String keyword)
+ {
+ List list = appsService.select(keyword,true);
+ return AjaxResult.success(list);
+ }
+ /**
+ * 查询应用管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Apps apps)
+ {
+ startPage();
+ List list = appsService.selectAppsList(apps,false);
+ return getDataTable(list);
+ }
+/**
+ * 查询应用管理列表
+ */
+@PreAuthorize("@ss.hasPermi('system:apps:user-list')")
+@GetMapping("/user/list")
+ public TableDataInfo userList(Apps apps)
+ {
+ startPage();
+ List list = appsService.selectAppsList(apps,true);
+ return getDataTable(list);
+ }
+ /**
+ * 导出应用管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:export')")
+ @Log(title = "应用管理", businessType = BusinessType.EXPORT)
+ @GetMapping("/export")
+ public AjaxResult export(Apps apps)
+ {
+ List list = appsService.selectAppsList(apps,false);
+ ExcelUtil util = new ExcelUtil(Apps.class);
+ return util.exportExcel(list, "apps");
+ }
+
+ /**
+ * 获取应用管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(appsService.selectAppsById(id,false));
+ }
+ /**
+ * 获取应用管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:user-query')")
+ @GetMapping(value = "/user/{id}")
+ public AjaxResult userGetInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(appsService.selectAppsById(id,true));
+ }
+ /**
+ * 新增应用管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:add')")
+ @Log(title = "应用管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Apps apps)
+ {
+ return toAjax(appsService.insertApps(apps,false));
+ }
+ /**
+ * 新增应用管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:user-add')")
+ @Log(title = "应用管理", businessType = BusinessType.INSERT)
+ @PostMapping("/user")
+ public AjaxResult userAdd(@RequestBody Apps apps)
+ {
+ return toAjax(appsService.insertApps(apps,true));
+ }
+ /**
+ * 修改应用管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:edit')")
+ @Log(title = "应用管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Apps apps)
+ {
+ return toAjax(appsService.updateApps(apps,false));
+ }
+ @PreAuthorize("@ss.hasPermi('system:apps:user-edit')")
+ @Log(title = "应用管理", businessType = BusinessType.UPDATE)
+ @PutMapping("/user")
+ public AjaxResult userEdit(@RequestBody Apps apps)
+ {
+ return toAjax(appsService.updateApps(apps,true));
+ }
+ /**
+ * 删除应用管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:remove')")
+ @Log(title = "应用管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(appsService.deleteAppsByIds(ids,false));
+ }
+ /**
+ * 删除应用管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:apps:user-remove')")
+ @Log(title = "应用管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/user/{ids}")
+ public AjaxResult userRemove(@PathVariable Long[] ids)
+ {
+ return toAjax(appsService.deleteAppsByIds(ids,true));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/UserAuthController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/UserAuthController.java
new file mode 100644
index 0000000..3ea7443
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/UserAuthController.java
@@ -0,0 +1,168 @@
+package com.ruoyi.system.controller;
+
+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.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.select.Ids;
+import com.ruoyi.common.select.SelectItem;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.system.domain.UserAuth;
+import com.ruoyi.system.domain.UserAuthPlus;
+import com.ruoyi.system.service.IUserAuthService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 用户授权Controller
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@RestController
+@RequestMapping("/system/auth" )
+public class UserAuthController extends BaseController {
+ @Autowired
+ private IUserAuthService userAuthService;
+
+ @PreAuthorize("@ss.hasPermi('system:auth:getByIds')" )
+ @PostMapping("/getByIds" )
+ public AjaxResult getByIds(@RequestBody Ids ids) {
+ List list = userAuthService.getByIds(ids.getLongIds(), false, UserAuthPlus::getName, UserAuthPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:auth:user-getByIds')" )
+ @PostMapping("/user/getByIds" )
+ public AjaxResult userGetByIds(@RequestBody Ids ids) {
+ List list = userAuthService.getByIds(ids.getLongIds(), true, UserAuthPlus::getName,UserAuthPlus::getUserId, UserAuthPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:auth:select')" )
+ @GetMapping("/select" )
+ public AjaxResult select(String keyword) {
+ List list = userAuthService.select(keyword, false);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:auth:user-select')" )
+ @GetMapping("/user/select" )
+ public AjaxResult userSelect(String keyword) {
+ List list = userAuthService.select(keyword, true);
+ return AjaxResult.success(list);
+ }
+
+ /**
+ * 查询用户授权列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:list')" )
+ @GetMapping("/list" )
+ public TableDataInfo list(UserAuth userAuth) {
+ startPage();
+ List list = userAuthService.selectUserAuthList(userAuth, false);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询用户授权列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:user-list')" )
+ @GetMapping("/user/list" )
+ public TableDataInfo userList(UserAuth userAuth) {
+ startPage();
+ List list = userAuthService.selectUserAuthList(userAuth, true);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出用户授权列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:export')" )
+ @Log(title = "用户授权" , businessType = BusinessType.EXPORT)
+ @GetMapping("/export" )
+ public AjaxResult export(UserAuth userAuth) {
+ List list = userAuthService.selectUserAuthList(userAuth, false);
+ ExcelUtil util = new ExcelUtil(UserAuth.class);
+ return util.exportExcel(list, "auth" );
+ }
+
+ /**
+ * 获取用户授权详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:query')" )
+ @GetMapping(value = "/{id}" )
+ public AjaxResult getInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(userAuthService.selectUserAuthById(id, false));
+ }
+
+ /**
+ * 获取用户授权详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:user-query')" )
+ @GetMapping(value = "/user/{id}" )
+ public AjaxResult userGetInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(userAuthService.selectUserAuthById(id, true));
+ }
+
+ /**
+ * 新增用户授权
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:add')" )
+ @Log(title = "用户授权" , businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody UserAuth userAuth) {
+ return toAjax(userAuthService.insertUserAuth(userAuth, false));
+ }
+
+ /**
+ * 新增用户授权
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:user-add')" )
+ @Log(title = "用户授权" , businessType = BusinessType.INSERT)
+ @PostMapping("/user" )
+ public AjaxResult userAdd(@RequestBody UserAuth userAuth) {
+ return toAjax(userAuthService.insertUserAuth(userAuth, true));
+ }
+
+ /**
+ * 修改用户授权
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:edit')" )
+ @Log(title = "用户授权" , businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody UserAuth userAuth) {
+ return toAjax(userAuthService.updateUserAuth(userAuth, false));
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:auth:user-edit')" )
+ @Log(title = "用户授权" , businessType = BusinessType.UPDATE)
+ @PutMapping("/user" )
+ public AjaxResult userEdit(@RequestBody UserAuth userAuth) {
+ return toAjax(userAuthService.updateUserAuth(userAuth, true));
+ }
+
+ /**
+ * 删除用户授权
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:remove')" )
+ @Log(title = "用户授权" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}" )
+ public AjaxResult remove(@PathVariable Long[] ids) {
+ return toAjax(userAuthService.deleteUserAuthByIds(ids, false));
+ }
+
+ /**
+ * 删除用户授权
+ */
+ @PreAuthorize("@ss.hasPermi('system:auth:user-remove')" )
+ @Log(title = "用户授权" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/user/{ids}" )
+ public AjaxResult userRemove(@PathVariable Long[] ids) {
+ return toAjax(userAuthService.deleteUserAuthByIds(ids, true));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/WalletAddressController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/WalletAddressController.java
new file mode 100644
index 0000000..39e5e5c
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/WalletAddressController.java
@@ -0,0 +1,168 @@
+package com.ruoyi.system.controller;
+
+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.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.select.Ids;
+import com.ruoyi.common.select.SelectItem;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.system.domain.WalletAddress;
+import com.ruoyi.system.domain.WalletAddressPlus;
+import com.ruoyi.system.service.IWalletAddressService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * token管理Controller
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@RestController
+@RequestMapping("/system/address" )
+public class WalletAddressController extends BaseController {
+ @Autowired
+ private IWalletAddressService walletAddressService;
+
+ @PreAuthorize("@ss.hasPermi('system:address:getByIds')" )
+ @PostMapping("/getByIds" )
+ public AjaxResult getByIds(@RequestBody Ids ids) {
+ List list = walletAddressService.getByIds(ids.getLongIds(), false, WalletAddressPlus::getToken, WalletAddressPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:address:user-getByIds')" )
+ @PostMapping("/user/getByIds" )
+ public AjaxResult userGetByIds(@RequestBody Ids ids) {
+ List list = walletAddressService.getByIds(ids.getLongIds(), true, WalletAddressPlus::getToken,WalletAddressPlus::getUserId, WalletAddressPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:address:select')" )
+ @GetMapping("/select" )
+ public AjaxResult select(String keyword) {
+ List list = walletAddressService.select(keyword, false);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:address:user-select')" )
+ @GetMapping("/user/select" )
+ public AjaxResult userSelect(String keyword) {
+ List list = walletAddressService.select(keyword, true);
+ return AjaxResult.success(list);
+ }
+
+ /**
+ * 查询token管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:list')" )
+ @GetMapping("/list" )
+ public TableDataInfo list(WalletAddress walletAddress) {
+ startPage();
+ List list = walletAddressService.selectWalletAddressList(walletAddress, false);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询token管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:user-list')" )
+ @GetMapping("/user/list" )
+ public TableDataInfo userList(WalletAddress walletAddress) {
+ startPage();
+ List list = walletAddressService.selectWalletAddressList(walletAddress, true);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出token管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:export')" )
+ @Log(title = "token管理" , businessType = BusinessType.EXPORT)
+ @GetMapping("/export" )
+ public AjaxResult export(WalletAddress walletAddress) {
+ List list = walletAddressService.selectWalletAddressList(walletAddress, false);
+ ExcelUtil util = new ExcelUtil(WalletAddress.class);
+ return util.exportExcel(list, "address" );
+ }
+
+ /**
+ * 获取token管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:query')" )
+ @GetMapping(value = "/{id}" )
+ public AjaxResult getInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(walletAddressService.selectWalletAddressById(id, false));
+ }
+
+ /**
+ * 获取token管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:user-query')" )
+ @GetMapping(value = "/user/{id}" )
+ public AjaxResult userGetInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(walletAddressService.selectWalletAddressById(id, true));
+ }
+
+ /**
+ * 新增token管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:add')" )
+ @Log(title = "token管理" , businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody WalletAddress walletAddress) {
+ return toAjax(walletAddressService.insertWalletAddress(walletAddress, false));
+ }
+
+ /**
+ * 新增token管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:user-add')" )
+ @Log(title = "token管理" , businessType = BusinessType.INSERT)
+ @PostMapping("/user" )
+ public AjaxResult userAdd(@RequestBody WalletAddress walletAddress) {
+ return toAjax(walletAddressService.insertWalletAddress(walletAddress, true));
+ }
+
+ /**
+ * 修改token管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:edit')" )
+ @Log(title = "token管理" , businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody WalletAddress walletAddress) {
+ return toAjax(walletAddressService.updateWalletAddress(walletAddress, false));
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:address:user-edit')" )
+ @Log(title = "token管理" , businessType = BusinessType.UPDATE)
+ @PutMapping("/user" )
+ public AjaxResult userEdit(@RequestBody WalletAddress walletAddress) {
+ return toAjax(walletAddressService.updateWalletAddress(walletAddress, true));
+ }
+
+ /**
+ * 删除token管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:remove')" )
+ @Log(title = "token管理" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}" )
+ public AjaxResult remove(@PathVariable Long[] ids) {
+ return toAjax(walletAddressService.deleteWalletAddressByIds(ids, false));
+ }
+
+ /**
+ * 删除token管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:user-remove')" )
+ @Log(title = "token管理" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/user/{ids}" )
+ public AjaxResult userRemove(@PathVariable Long[] ids) {
+ return toAjax(walletAddressService.deleteWalletAddressByIds(ids, true));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/Web3WalletController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/Web3WalletController.java
new file mode 100644
index 0000000..9878c1e
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/Web3WalletController.java
@@ -0,0 +1,153 @@
+package com.ruoyi.system.controller;
+
+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.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.select.Ids;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.system.domain.Web3Wallet;
+import com.ruoyi.system.domain.Web3WalletPlus;
+import com.ruoyi.system.service.IWeb3WalletService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 钱包管理Controller
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@RestController
+@RequestMapping("/system/wallet" )
+public class Web3WalletController extends BaseController {
+ @Autowired
+ private IWeb3WalletService web3WalletService;
+
+ @PreAuthorize("@ss.hasPermi('system:wallet:getByIds')" )
+ @PostMapping("/getByIds" )
+ public AjaxResult getByIds(@RequestBody Ids ids) {
+ List list = web3WalletService.getByIds(ids.getLongIds(), false, Web3WalletPlus::getUsdtBalance, Web3WalletPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-getByIds')" )
+ @PostMapping("/user/getByIds" )
+ public AjaxResult userGetByIds(@RequestBody Ids ids) {
+ List list = web3WalletService.getByIds(ids.getLongIds(), true, Web3WalletPlus::getUsdtBalance, Web3WalletPlus::getId);
+ return AjaxResult.success(list);
+ }
+
+ /**
+ * 查询钱包管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:list')" )
+ @GetMapping("/list" )
+ public TableDataInfo list(Web3Wallet web3Wallet) {
+ startPage();
+ List list = web3WalletService.selectWeb3WalletList(web3Wallet, false);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询钱包管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-list')" )
+ @GetMapping("/user/list" )
+ public TableDataInfo userList(Web3Wallet web3Wallet) {
+ startPage();
+ List list = web3WalletService.selectWeb3WalletList(web3Wallet, true);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出钱包管理列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:export')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.EXPORT)
+ @GetMapping("/export" )
+ public AjaxResult export(Web3Wallet web3Wallet) {
+ List list = web3WalletService.selectWeb3WalletList(web3Wallet, false);
+ ExcelUtil util = new ExcelUtil(Web3Wallet.class);
+ return util.exportExcel(list, "wallet" );
+ }
+
+ /**
+ * 获取钱包管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:query')" )
+ @GetMapping(value = "/{id}" )
+ public AjaxResult getInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(web3WalletService.selectWeb3WalletById(id, false));
+ }
+
+ /**
+ * 获取钱包管理详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-query')" )
+ @GetMapping(value = "/user/{id}" )
+ public AjaxResult userGetInfo(@PathVariable("id" ) Long id) {
+ return AjaxResult.success(web3WalletService.selectWeb3WalletById(id, true));
+ }
+
+ /**
+ * 新增钱包管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:add')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Web3Wallet web3Wallet) {
+ return toAjax(web3WalletService.insertWeb3Wallet(web3Wallet, false));
+ }
+
+ /**
+ * 新增钱包管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-add')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.INSERT)
+ @PostMapping("/user" )
+ public AjaxResult userAdd(@RequestBody Web3Wallet web3Wallet) {
+ return toAjax(web3WalletService.insertWeb3Wallet(web3Wallet, true));
+ }
+
+ /**
+ * 修改钱包管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:edit')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Web3Wallet web3Wallet) {
+ return toAjax(web3WalletService.updateWeb3Wallet(web3Wallet, false));
+ }
+
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-edit')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.UPDATE)
+ @PutMapping("/user" )
+ public AjaxResult userEdit(@RequestBody Web3Wallet web3Wallet) {
+ return toAjax(web3WalletService.updateWeb3Wallet(web3Wallet, true));
+ }
+
+ /**
+ * 删除钱包管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:remove')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}" )
+ public AjaxResult remove(@PathVariable Long[] ids) {
+ return toAjax(web3WalletService.deleteWeb3WalletByIds(ids, false));
+ }
+
+ /**
+ * 删除钱包管理
+ */
+ @PreAuthorize("@ss.hasPermi('system:wallet:user-remove')" )
+ @Log(title = "钱包管理" , businessType = BusinessType.DELETE)
+ @DeleteMapping("/user/{ids}" )
+ public AjaxResult userRemove(@PathVariable Long[] ids) {
+ return toAjax(web3WalletService.deleteWeb3WalletByIds(ids, true));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeys.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeys.java
new file mode 100644
index 0000000..faff2ec
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeys.java
@@ -0,0 +1,153 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * 应用密钥对象 app_api_keys
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public class AppApiKeys extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ private Long id;
+
+ /** 应用ID */
+ @Excel(name = "应用ID")
+ private Long appId;
+
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+
+ /** 密钥 */
+ @Excel(name = "密钥")
+ private String apiSecret;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+
+ /** 到期时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date expiredAt;
+
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+
+ /** 删除时间 */
+ private Date deletedAt;
+
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setAppId(Long appId)
+ {
+ this.appId = appId;
+ }
+
+ public Long getAppId()
+ {
+ return appId;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setApiSecret(String apiSecret)
+ {
+ this.apiSecret = apiSecret;
+ }
+
+ public String getApiSecret()
+ {
+ return apiSecret;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setExpiredAt(Date expiredAt)
+ {
+ this.expiredAt = expiredAt;
+ }
+
+ public Date getExpiredAt()
+ {
+ return expiredAt;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("appId", getAppId())
+ .append("userId", getUserId())
+ .append("apiSecret", getApiSecret())
+ .append("status", getStatus())
+ .append("expiredAt", getExpiredAt())
+ .append("createdAt", getCreatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("updatedAt", getUpdatedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeysPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeysPlus.java
new file mode 100644
index 0000000..c32abf8
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppApiKeysPlus.java
@@ -0,0 +1,147 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * 应用密钥对象 app_api_keys
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@TableName(value = "app_api_keys")
+public class AppApiKeysPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ private Long id;
+ /** 应用ID */
+ @Excel(name = "应用ID")
+ private Long appId;
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+ /** 密钥 */
+ @Excel(name = "密钥")
+ private String apiSecret;
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+ /** 到期时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date expiredAt;
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+ /** 删除时间 */
+ private Date deletedAt;
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setAppId(Long appId)
+ {
+ this.appId = appId;
+ }
+
+ public Long getAppId()
+ {
+ return appId;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setApiSecret(String apiSecret)
+ {
+ this.apiSecret = apiSecret;
+ }
+
+ public String getApiSecret()
+ {
+ return apiSecret;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setExpiredAt(Date expiredAt)
+ {
+ this.expiredAt = expiredAt;
+ }
+
+ public Date getExpiredAt()
+ {
+ return expiredAt;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("appId", getAppId())
+ .append("userId", getUserId())
+ .append("apiSecret", getApiSecret())
+ .append("status", getStatus())
+ .append("expiredAt", getExpiredAt())
+ .append("createdAt", getCreatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("updatedAt", getUpdatedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Apps.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Apps.java
new file mode 100644
index 0000000..fa4f34d
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Apps.java
@@ -0,0 +1,138 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * 应用管理对象 apps
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public class Apps extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ private Long id;
+
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+
+ /** 名称 */
+ @Excel(name = "名称")
+ private String name;
+
+ /** 描述 */
+ @Excel(name = "描述")
+ private String description;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+
+ /** 删除时间 */
+ private Date deletedAt;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setDescription(String description)
+ {
+ this.description = description;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("userId", getUserId())
+ .append("name", getName())
+ .append("description", getDescription())
+ .append("status", getStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppsPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppsPlus.java
new file mode 100644
index 0000000..5b2a01b
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppsPlus.java
@@ -0,0 +1,133 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * 应用管理对象 apps
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@TableName(value = "apps")
+public class AppsPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ private Long id;
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+ /** 名称 */
+ @Excel(name = "名称")
+ private String name;
+ /** 描述 */
+ @Excel(name = "描述")
+ private String description;
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+ /** 删除时间 */
+ private Date deletedAt;
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setDescription(String description)
+ {
+ this.description = description;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("userId", getUserId())
+ .append("name", getName())
+ .append("description", getDescription())
+ .append("status", getStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqCommonDTO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqCommonDTO.java
new file mode 100644
index 0000000..28f95fc
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqCommonDTO.java
@@ -0,0 +1,12 @@
+package com.ruoyi.system.domain;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class ReqCommonDTO implements Serializable {
+ private String name;
+ private String url;
+
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqUserDTO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqUserDTO.java
new file mode 100644
index 0000000..f44ae8a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ReqUserDTO.java
@@ -0,0 +1,12 @@
+package com.ruoyi.system.domain;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class ReqUserDTO implements Serializable {
+ private String openId;
+ private SysWxUserPlus user;
+
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysConfig.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysConfig.java
new file mode 100644
index 0000000..c54678c
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysConfig.java
@@ -0,0 +1,111 @@
+package com.ruoyi.system.domain;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.Size;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.annotation.Excel.ColumnType;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 参数配置表 sys_config
+ *
+ * @author ruoyi
+ */
+public class SysConfig extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 参数主键 */
+ @Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
+ private Long configId;
+
+ /** 参数名称 */
+ @Excel(name = "参数名称")
+ private String configName;
+
+ /** 参数键名 */
+ @Excel(name = "参数键名")
+ private String configKey;
+
+ /** 参数键值 */
+ @Excel(name = "参数键值")
+ private String configValue;
+
+ /** 系统内置(Y是 N否) */
+ @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
+ private String configType;
+
+ public Long getConfigId()
+ {
+ return configId;
+ }
+
+ public void setConfigId(Long configId)
+ {
+ this.configId = configId;
+ }
+
+ @NotBlank(message = "参数名称不能为空")
+ @Size(min = 0, max = 100, message = "参数名称不能超过100个字符")
+ public String getConfigName()
+ {
+ return configName;
+ }
+
+ public void setConfigName(String configName)
+ {
+ this.configName = configName;
+ }
+
+ @NotBlank(message = "参数键名长度不能为空")
+ @Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")
+ public String getConfigKey()
+ {
+ return configKey;
+ }
+
+ public void setConfigKey(String configKey)
+ {
+ this.configKey = configKey;
+ }
+
+ @NotBlank(message = "参数键值不能为空")
+ @Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")
+ public String getConfigValue()
+ {
+ return configValue;
+ }
+
+ public void setConfigValue(String configValue)
+ {
+ this.configValue = configValue;
+ }
+
+ public String getConfigType()
+ {
+ return configType;
+ }
+
+ public void setConfigType(String configType)
+ {
+ this.configType = configType;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("configId", getConfigId())
+ .append("configName", getConfigName())
+ .append("configKey", getConfigKey())
+ .append("configValue", getConfigValue())
+ .append("configType", getConfigType())
+ .append("createBy", getCreateBy())
+ .append("createTime", getCreateTime())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
+ .append("remark", getRemark())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java
new file mode 100644
index 0000000..7fdea30
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java
@@ -0,0 +1,144 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.annotation.Excel.ColumnType;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 系统访问记录表 sys_logininfor
+ *
+ * @author ruoyi
+ */
+public class SysLogininfor extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** ID */
+ @Excel(name = "序号", cellType = ColumnType.NUMERIC)
+ private Long infoId;
+
+ /** 用户账号 */
+ @Excel(name = "用户账号")
+ private String userName;
+
+ /** 登录状态 0成功 1失败 */
+ @Excel(name = "登录状态", readConverterExp = "0=成功,1=失败")
+ private String status;
+
+ /** 登录IP地址 */
+ @Excel(name = "登录地址")
+ private String ipaddr;
+
+ /** 登录地点 */
+ @Excel(name = "登录地点")
+ private String loginLocation;
+
+ /** 浏览器类型 */
+ @Excel(name = "浏览器")
+ private String browser;
+
+ /** 操作系统 */
+ @Excel(name = "操作系统")
+ private String os;
+
+ /** 提示消息 */
+ @Excel(name = "提示消息")
+ private String msg;
+
+ /** 访问时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @Excel(name = "访问时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
+ private Date loginTime;
+
+ public Long getInfoId()
+ {
+ return infoId;
+ }
+
+ public void setInfoId(Long infoId)
+ {
+ this.infoId = infoId;
+ }
+
+ public String getUserName()
+ {
+ return userName;
+ }
+
+ public void setUserName(String userName)
+ {
+ this.userName = userName;
+ }
+
+ public String getStatus()
+ {
+ return status;
+ }
+
+ public void setStatus(String status)
+ {
+ this.status = status;
+ }
+
+ public String getIpaddr()
+ {
+ return ipaddr;
+ }
+
+ public void setIpaddr(String ipaddr)
+ {
+ this.ipaddr = ipaddr;
+ }
+
+ public String getLoginLocation()
+ {
+ return loginLocation;
+ }
+
+ public void setLoginLocation(String loginLocation)
+ {
+ this.loginLocation = loginLocation;
+ }
+
+ public String getBrowser()
+ {
+ return browser;
+ }
+
+ public void setBrowser(String browser)
+ {
+ this.browser = browser;
+ }
+
+ public String getOs()
+ {
+ return os;
+ }
+
+ public void setOs(String os)
+ {
+ this.os = os;
+ }
+
+ public String getMsg()
+ {
+ return msg;
+ }
+
+ public void setMsg(String msg)
+ {
+ this.msg = msg;
+ }
+
+ public Date getLoginTime()
+ {
+ return loginTime;
+ }
+
+ public void setLoginTime(Date loginTime)
+ {
+ this.loginTime = loginTime;
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysNotice.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysNotice.java
new file mode 100644
index 0000000..b43abea
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysNotice.java
@@ -0,0 +1,100 @@
+package com.ruoyi.system.domain;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.Size;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 通知公告表 sys_notice
+ *
+ * @author ruoyi
+ */
+public class SysNotice extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 公告ID */
+ private Long noticeId;
+
+ /** 公告标题 */
+ private String noticeTitle;
+
+ /** 公告类型(1通知 2公告) */
+ private String noticeType;
+
+ /** 公告内容 */
+ private String noticeContent;
+
+ /** 公告状态(0正常 1关闭) */
+ private String status;
+
+ public Long getNoticeId()
+ {
+ return noticeId;
+ }
+
+ public void setNoticeId(Long noticeId)
+ {
+ this.noticeId = noticeId;
+ }
+
+ public void setNoticeTitle(String noticeTitle)
+ {
+ this.noticeTitle = noticeTitle;
+ }
+
+ @NotBlank(message = "公告标题不能为空")
+ @Size(min = 0, max = 50, message = "公告标题不能超过50个字符")
+ public String getNoticeTitle()
+ {
+ return noticeTitle;
+ }
+
+ public void setNoticeType(String noticeType)
+ {
+ this.noticeType = noticeType;
+ }
+
+ public String getNoticeType()
+ {
+ return noticeType;
+ }
+
+ public void setNoticeContent(String noticeContent)
+ {
+ this.noticeContent = noticeContent;
+ }
+
+ public String getNoticeContent()
+ {
+ return noticeContent;
+ }
+
+ public void setStatus(String status)
+ {
+ this.status = status;
+ }
+
+ public String getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("noticeId", getNoticeId())
+ .append("noticeTitle", getNoticeTitle())
+ .append("noticeType", getNoticeType())
+ .append("noticeContent", getNoticeContent())
+ .append("status", getStatus())
+ .append("createBy", getCreateBy())
+ .append("createTime", getCreateTime())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
+ .append("remark", getRemark())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
new file mode 100644
index 0000000..175ee03
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
@@ -0,0 +1,255 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.annotation.Excel.ColumnType;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 操作日志记录表 oper_log
+ *
+ * @author ruoyi
+ */
+public class SysOperLog extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 日志主键 */
+ @Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
+ private Long operId;
+
+ /** 操作模块 */
+ @Excel(name = "操作模块")
+ private String title;
+
+ /** 业务类型(0其它 1新增 2修改 3删除) */
+ @Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
+ private Integer businessType;
+
+ /** 业务类型数组 */
+ private Integer[] businessTypes;
+
+ /** 请求方法 */
+ @Excel(name = "请求方法")
+ private String method;
+
+ /** 请求方式 */
+ @Excel(name = "请求方式")
+ private String requestMethod;
+
+ /** 操作类别(0其它 1后台用户 2手机端用户) */
+ @Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
+ private Integer operatorType;
+
+ /** 操作人员 */
+ @Excel(name = "操作人员")
+ private String operName;
+
+ /** 部门名称 */
+ @Excel(name = "部门名称")
+ private String deptName;
+
+ /** 请求url */
+ @Excel(name = "请求地址")
+ private String operUrl;
+
+ /** 操作地址 */
+ @Excel(name = "操作地址")
+ private String operIp;
+
+ /** 操作地点 */
+ @Excel(name = "操作地点")
+ private String operLocation;
+
+ /** 请求参数 */
+ @Excel(name = "请求参数")
+ private String operParam;
+
+ /** 返回参数 */
+ @Excel(name = "返回参数")
+ private String jsonResult;
+
+ /** 操作状态(0正常 1异常) */
+ @Excel(name = "状态", readConverterExp = "0=正常,1=异常")
+ private Integer status;
+
+ /** 错误消息 */
+ @Excel(name = "错误消息")
+ private String errorMsg;
+
+ /** 操作时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
+ private Date operTime;
+
+ public Long getOperId()
+ {
+ return operId;
+ }
+
+ public void setOperId(Long operId)
+ {
+ this.operId = operId;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public Integer getBusinessType()
+ {
+ return businessType;
+ }
+
+ public void setBusinessType(Integer businessType)
+ {
+ this.businessType = businessType;
+ }
+
+ public Integer[] getBusinessTypes()
+ {
+ return businessTypes;
+ }
+
+ public void setBusinessTypes(Integer[] businessTypes)
+ {
+ this.businessTypes = businessTypes;
+ }
+
+ public String getMethod()
+ {
+ return method;
+ }
+
+ public void setMethod(String method)
+ {
+ this.method = method;
+ }
+
+ public String getRequestMethod()
+ {
+ return requestMethod;
+ }
+
+ public void setRequestMethod(String requestMethod)
+ {
+ this.requestMethod = requestMethod;
+ }
+
+ public Integer getOperatorType()
+ {
+ return operatorType;
+ }
+
+ public void setOperatorType(Integer operatorType)
+ {
+ this.operatorType = operatorType;
+ }
+
+ public String getOperName()
+ {
+ return operName;
+ }
+
+ public void setOperName(String operName)
+ {
+ this.operName = operName;
+ }
+
+ public String getDeptName()
+ {
+ return deptName;
+ }
+
+ public void setDeptName(String deptName)
+ {
+ this.deptName = deptName;
+ }
+
+ public String getOperUrl()
+ {
+ return operUrl;
+ }
+
+ public void setOperUrl(String operUrl)
+ {
+ this.operUrl = operUrl;
+ }
+
+ public String getOperIp()
+ {
+ return operIp;
+ }
+
+ public void setOperIp(String operIp)
+ {
+ this.operIp = operIp;
+ }
+
+ public String getOperLocation()
+ {
+ return operLocation;
+ }
+
+ public void setOperLocation(String operLocation)
+ {
+ this.operLocation = operLocation;
+ }
+
+ public String getOperParam()
+ {
+ return operParam;
+ }
+
+ public void setOperParam(String operParam)
+ {
+ this.operParam = operParam;
+ }
+
+ public String getJsonResult()
+ {
+ return jsonResult;
+ }
+
+ public void setJsonResult(String jsonResult)
+ {
+ this.jsonResult = jsonResult;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public String getErrorMsg()
+ {
+ return errorMsg;
+ }
+
+ public void setErrorMsg(String errorMsg)
+ {
+ this.errorMsg = errorMsg;
+ }
+
+ public Date getOperTime()
+ {
+ return operTime;
+ }
+
+ public void setOperTime(Date operTime)
+ {
+ this.operTime = operTime;
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java
new file mode 100644
index 0000000..1f1fcf4
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java
@@ -0,0 +1,123 @@
+package com.ruoyi.system.domain;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.Size;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.annotation.Excel.ColumnType;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 岗位表 sys_post
+ *
+ * @author ruoyi
+ */
+public class SysPost extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 岗位序号 */
+ @Excel(name = "岗位序号", cellType = ColumnType.NUMERIC)
+ private Long postId;
+
+ /** 岗位编码 */
+ @Excel(name = "岗位编码")
+ private String postCode;
+
+ /** 岗位名称 */
+ @Excel(name = "岗位名称")
+ private String postName;
+
+ /** 岗位排序 */
+ @Excel(name = "岗位排序")
+ private String postSort;
+
+ /** 状态(0正常 1停用) */
+ @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
+ private String status;
+
+ /** 用户是否存在此岗位标识 默认不存在 */
+ private boolean flag = false;
+
+ public Long getPostId()
+ {
+ return postId;
+ }
+
+ public void setPostId(Long postId)
+ {
+ this.postId = postId;
+ }
+
+ @NotBlank(message = "岗位编码不能为空")
+ @Size(min = 0, max = 64, message = "岗位编码长度不能超过64个字符")
+ public String getPostCode()
+ {
+ return postCode;
+ }
+
+ public void setPostCode(String postCode)
+ {
+ this.postCode = postCode;
+ }
+
+ @NotBlank(message = "岗位名称不能为空")
+ @Size(min = 0, max = 50, message = "岗位名称长度不能超过50个字符")
+ public String getPostName()
+ {
+ return postName;
+ }
+
+ public void setPostName(String postName)
+ {
+ this.postName = postName;
+ }
+
+ @NotBlank(message = "显示顺序不能为空")
+ public String getPostSort()
+ {
+ return postSort;
+ }
+
+ public void setPostSort(String postSort)
+ {
+ this.postSort = postSort;
+ }
+
+ public String getStatus()
+ {
+ return status;
+ }
+
+ public void setStatus(String status)
+ {
+ this.status = status;
+ }
+
+ public boolean isFlag()
+ {
+ return flag;
+ }
+
+ public void setFlag(boolean flag)
+ {
+ this.flag = flag;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("postId", getPostId())
+ .append("postCode", getPostCode())
+ .append("postName", getPostName())
+ .append("postSort", getPostSort())
+ .append("status", getStatus())
+ .append("createBy", getCreateBy())
+ .append("createTime", getCreateTime())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
+ .append("remark", getRemark())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleDept.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleDept.java
new file mode 100644
index 0000000..47b21bf
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleDept.java
@@ -0,0 +1,46 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 角色和部门关联 sys_role_dept
+ *
+ * @author ruoyi
+ */
+public class SysRoleDept
+{
+ /** 角色ID */
+ private Long roleId;
+
+ /** 部门ID */
+ private Long deptId;
+
+ public Long getRoleId()
+ {
+ return roleId;
+ }
+
+ public void setRoleId(Long roleId)
+ {
+ this.roleId = roleId;
+ }
+
+ public Long getDeptId()
+ {
+ return deptId;
+ }
+
+ public void setDeptId(Long deptId)
+ {
+ this.deptId = deptId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("roleId", getRoleId())
+ .append("deptId", getDeptId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleMenu.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleMenu.java
new file mode 100644
index 0000000..de10a74
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysRoleMenu.java
@@ -0,0 +1,46 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 角色和菜单关联 sys_role_menu
+ *
+ * @author ruoyi
+ */
+public class SysRoleMenu
+{
+ /** 角色ID */
+ private Long roleId;
+
+ /** 菜单ID */
+ private Long menuId;
+
+ public Long getRoleId()
+ {
+ return roleId;
+ }
+
+ public void setRoleId(Long roleId)
+ {
+ this.roleId = roleId;
+ }
+
+ public Long getMenuId()
+ {
+ return menuId;
+ }
+
+ public void setMenuId(Long menuId)
+ {
+ this.menuId = menuId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("roleId", getRoleId())
+ .append("menuId", getMenuId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserOnline.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserOnline.java
new file mode 100644
index 0000000..2bbd318
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserOnline.java
@@ -0,0 +1,113 @@
+package com.ruoyi.system.domain;
+
+/**
+ * 当前在线会话
+ *
+ * @author ruoyi
+ */
+public class SysUserOnline
+{
+ /** 会话编号 */
+ private String tokenId;
+
+ /** 部门名称 */
+ private String deptName;
+
+ /** 用户名称 */
+ private String userName;
+
+ /** 登录IP地址 */
+ private String ipaddr;
+
+ /** 登录地址 */
+ private String loginLocation;
+
+ /** 浏览器类型 */
+ private String browser;
+
+ /** 操作系统 */
+ private String os;
+
+ /** 登录时间 */
+ private Long loginTime;
+
+ public String getTokenId()
+ {
+ return tokenId;
+ }
+
+ public void setTokenId(String tokenId)
+ {
+ this.tokenId = tokenId;
+ }
+
+ public String getDeptName()
+ {
+ return deptName;
+ }
+
+ public void setDeptName(String deptName)
+ {
+ this.deptName = deptName;
+ }
+
+ public String getUserName()
+ {
+ return userName;
+ }
+
+ public void setUserName(String userName)
+ {
+ this.userName = userName;
+ }
+
+ public String getIpaddr()
+ {
+ return ipaddr;
+ }
+
+ public void setIpaddr(String ipaddr)
+ {
+ this.ipaddr = ipaddr;
+ }
+
+ public String getLoginLocation()
+ {
+ return loginLocation;
+ }
+
+ public void setLoginLocation(String loginLocation)
+ {
+ this.loginLocation = loginLocation;
+ }
+
+ public String getBrowser()
+ {
+ return browser;
+ }
+
+ public void setBrowser(String browser)
+ {
+ this.browser = browser;
+ }
+
+ public String getOs()
+ {
+ return os;
+ }
+
+ public void setOs(String os)
+ {
+ this.os = os;
+ }
+
+ public Long getLoginTime()
+ {
+ return loginTime;
+ }
+
+ public void setLoginTime(Long loginTime)
+ {
+ this.loginTime = loginTime;
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserPost.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserPost.java
new file mode 100644
index 0000000..6e8c416
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserPost.java
@@ -0,0 +1,46 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 用户和岗位关联 sys_user_post
+ *
+ * @author ruoyi
+ */
+public class SysUserPost
+{
+ /** 用户ID */
+ private Long userId;
+
+ /** 岗位ID */
+ private Long postId;
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getPostId()
+ {
+ return postId;
+ }
+
+ public void setPostId(Long postId)
+ {
+ this.postId = postId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("userId", getUserId())
+ .append("postId", getPostId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java
new file mode 100644
index 0000000..4d15810
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java
@@ -0,0 +1,46 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 用户和角色关联 sys_user_role
+ *
+ * @author ruoyi
+ */
+public class SysUserRole
+{
+ /** 用户ID */
+ private Long userId;
+
+ /** 角色ID */
+ private Long roleId;
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getRoleId()
+ {
+ return roleId;
+ }
+
+ public void setRoleId(Long roleId)
+ {
+ this.roleId = roleId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("userId", getUserId())
+ .append("roleId", getRoleId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUser.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUser.java
new file mode 100644
index 0000000..ea2b596
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUser.java
@@ -0,0 +1,164 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * 微信用户对象 sys_wx_user
+ *
+ * @author luqj
+ * @date 2021-10-28
+ */
+public class SysWxUser extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 微信openid */
+ private String id;
+
+ /** 昵称 */
+ @Excel(name = "昵称")
+ private String nickname;
+
+ /** 用户id */
+ @Excel(name = "用户id")
+ private Long userId;
+
+ /** 电话号码 */
+ @Excel(name = "电话号码")
+ private String phone;
+
+ /** appId */
+ @Excel(name = "appId")
+ private String appId;
+
+ /** session_key */
+ @Excel(name = "session_key")
+ private String sessionKey;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Integer type;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+
+ /** unionid */
+ @Excel(name = "unionid")
+ private String unionId;
+
+ /** 头像 */
+ @Excel(name = "头像")
+ private String avatar;
+
+ public void setId(String id)
+ {
+ this.id = id;
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+ public void setNickname(String nickname)
+ {
+ this.nickname = nickname;
+ }
+
+ public String getNickname()
+ {
+ return nickname;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setPhone(String phone)
+ {
+ this.phone = phone;
+ }
+
+ public String getPhone()
+ {
+ return phone;
+ }
+ public void setAppId(String appId)
+ {
+ this.appId = appId;
+ }
+
+ public String getAppId()
+ {
+ return appId;
+ }
+ public void setSessionKey(String sessionKey)
+ {
+ this.sessionKey = sessionKey;
+ }
+
+ public String getSessionKey()
+ {
+ return sessionKey;
+ }
+ public void setType(Integer type)
+ {
+ this.type = type;
+ }
+
+ public Integer getType()
+ {
+ return type;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setUnionId(String unionId)
+ {
+ this.unionId = unionId;
+ }
+
+ public String getUnionId()
+ {
+ return unionId;
+ }
+ public void setAvatar(String avatar)
+ {
+ this.avatar = avatar;
+ }
+
+ public String getAvatar()
+ {
+ return avatar;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("nickname", getNickname())
+ .append("userId", getUserId())
+ .append("phone", getPhone())
+ .append("appId", getAppId())
+ .append("sessionKey", getSessionKey())
+ .append("type", getType())
+ .append("status", getStatus())
+ .append("unionId", getUnionId())
+ .append("createTime", getCreateTime())
+ .append("avatar", getAvatar())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUserPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUserPlus.java
new file mode 100644
index 0000000..a179e30
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysWxUserPlus.java
@@ -0,0 +1,189 @@
+package com.ruoyi.system.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * 微信用户对象 sys_wx_user
+ *
+ * @author luqj
+ * @date 2021-10-28
+ */
+@TableName(value = "sys_wx_user")
+public class SysWxUserPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 微信openid */
+ private String id;
+ /** 昵称 */
+ @Excel(name = "昵称")
+ private String nickname;
+ /** 用户id */
+ @Excel(name = "用户id")
+ private Long userId;
+ /** 电话号码 */
+ @Excel(name = "电话号码")
+ private String phone;
+ /** appId */
+ @Excel(name = "appId")
+ private String appId;
+ /** session_key */
+ @Excel(name = "session_key")
+ private String sessionKey;
+ /** 类型 */
+ @Excel(name = "类型")
+ private Integer type;
+ /** 状态 */
+ @Excel(name = "状态")
+ private Integer status;
+ /** unionid */
+ @Excel(name = "unionid")
+ private String unionId;
+ /** 创建时间 */
+ private Date createTime;
+ /** 头像 */
+ @Excel(name = "头像")
+ private String avatar;
+
+ private transient String token;
+
+ private transient String username;
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public void setId(String id)
+ {
+ this.id = id;
+ }
+
+ public String getToken() {
+ return token;
+ }
+
+ public void setToken(String token) {
+ this.token = token;
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+ public void setNickname(String nickname)
+ {
+ this.nickname = nickname;
+ }
+
+ public String getNickname()
+ {
+ return nickname;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setPhone(String phone)
+ {
+ this.phone = phone;
+ }
+
+ public String getPhone()
+ {
+ return phone;
+ }
+ public void setAppId(String appId)
+ {
+ this.appId = appId;
+ }
+
+ public String getAppId()
+ {
+ return appId;
+ }
+ public void setSessionKey(String sessionKey)
+ {
+ this.sessionKey = sessionKey;
+ }
+
+ public String getSessionKey()
+ {
+ return sessionKey;
+ }
+ public void setType(Integer type)
+ {
+ this.type = type;
+ }
+
+ public Integer getType()
+ {
+ return type;
+ }
+ public void setStatus(Integer status)
+ {
+ this.status = status;
+ }
+
+ public Integer getStatus()
+ {
+ return status;
+ }
+ public void setUnionId(String unionId)
+ {
+ this.unionId = unionId;
+ }
+
+ public String getUnionId()
+ {
+ return unionId;
+ }
+ public void setCreateTime(Date createTime)
+ {
+ this.createTime = createTime;
+ }
+
+ public Date getCreateTime()
+ {
+ return createTime;
+ }
+ public void setAvatar(String avatar)
+ {
+ this.avatar = avatar;
+ }
+
+ public String getAvatar()
+ {
+ return avatar;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("nickname", getNickname())
+ .append("userId", getUserId())
+ .append("phone", getPhone())
+ .append("appId", getAppId())
+ .append("sessionKey", getSessionKey())
+ .append("type", getType())
+ .append("status", getStatus())
+ .append("unionId", getUnionId())
+ .append("createTime", getCreateTime())
+ .append("avatar", getAvatar())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuth.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuth.java
new file mode 100644
index 0000000..c3fb8c1
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuth.java
@@ -0,0 +1,180 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * 用户授权对象 user_auth
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public class UserAuth extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键ID */
+ private Long id;
+
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+
+ /** 认证类型 */
+ @Excel(name = "认证类型")
+ private Integer authType;
+
+ /** 名称 */
+ @Excel(name = "名称")
+ private String name;
+
+ /** 身份证 */
+ @Excel(name = "身份证")
+ private String idNumber;
+
+ /** 公司名称 */
+ @Excel(name = "公司名称")
+ private String companyName;
+
+ /** 授权状态 */
+ @Excel(name = "授权状态")
+ private Integer authStatus;
+
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+
+ /** 审核人 */
+ @Excel(name = "审核人")
+ private String reviewer;
+
+ /** 删除时间 */
+ private Date deletedAt;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setAuthType(Integer authType)
+ {
+ this.authType = authType;
+ }
+
+ public Integer getAuthType()
+ {
+ return authType;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setIdNumber(String idNumber)
+ {
+ this.idNumber = idNumber;
+ }
+
+ public String getIdNumber()
+ {
+ return idNumber;
+ }
+ public void setCompanyName(String companyName)
+ {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyName()
+ {
+ return companyName;
+ }
+ public void setAuthStatus(Integer authStatus)
+ {
+ this.authStatus = authStatus;
+ }
+
+ public Integer getAuthStatus()
+ {
+ return authStatus;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setReviewer(String reviewer)
+ {
+ this.reviewer = reviewer;
+ }
+
+ public String getReviewer()
+ {
+ return reviewer;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("userId", getUserId())
+ .append("authType", getAuthType())
+ .append("name", getName())
+ .append("idNumber", getIdNumber())
+ .append("companyName", getCompanyName())
+ .append("authStatus", getAuthStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("reviewer", getReviewer())
+ .append("deletedAt", getDeletedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuthPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuthPlus.java
new file mode 100644
index 0000000..4b3197f
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/UserAuthPlus.java
@@ -0,0 +1,172 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * 用户授权对象 user_auth
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@TableName(value = "user_auth")
+public class UserAuthPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键ID */
+ private Long id;
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+ /** 认证类型 */
+ @Excel(name = "认证类型")
+ private Integer authType;
+ /** 名称 */
+ @Excel(name = "名称")
+ private String name;
+ /** 身份证 */
+ @Excel(name = "身份证")
+ private String idNumber;
+ /** 公司名称 */
+ @Excel(name = "公司名称")
+ private String companyName;
+ /** 授权状态 */
+ @Excel(name = "授权状态")
+ private Integer authStatus;
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+ /** 审核人 */
+ @Excel(name = "审核人")
+ private String reviewer;
+ /** 删除时间 */
+ private Date deletedAt;
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+ public void setAuthType(Integer authType)
+ {
+ this.authType = authType;
+ }
+
+ public Integer getAuthType()
+ {
+ return authType;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setIdNumber(String idNumber)
+ {
+ this.idNumber = idNumber;
+ }
+
+ public String getIdNumber()
+ {
+ return idNumber;
+ }
+ public void setCompanyName(String companyName)
+ {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyName()
+ {
+ return companyName;
+ }
+ public void setAuthStatus(Integer authStatus)
+ {
+ this.authStatus = authStatus;
+ }
+
+ public Integer getAuthStatus()
+ {
+ return authStatus;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setReviewer(String reviewer)
+ {
+ this.reviewer = reviewer;
+ }
+
+ public String getReviewer()
+ {
+ return reviewer;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("userId", getUserId())
+ .append("authType", getAuthType())
+ .append("name", getName())
+ .append("idNumber", getIdNumber())
+ .append("companyName", getCompanyName())
+ .append("authStatus", getAuthStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("reviewer", getReviewer())
+ .append("deletedAt", getDeletedAt())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddress.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddress.java
new file mode 100644
index 0000000..ead5620
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddress.java
@@ -0,0 +1,139 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * token管理对象 wallet_address
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public class WalletAddress extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ @Excel(name = "主键")
+ private Long id;
+
+ /** Token */
+ @Excel(name = "Token")
+ private String token;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+
+ /** 删除时间 */
+ private Date deletedAt;
+
+ /** 应用 */
+ @Excel(name = "应用")
+ private Long appId;
+
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setToken(String token)
+ {
+ this.token = token;
+ }
+
+ public String getToken()
+ {
+ return token;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setAppId(Long appId)
+ {
+ this.appId = appId;
+ }
+
+ public Long getAppId()
+ {
+ return appId;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("token", getToken())
+ .append("status", getStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("appId", getAppId())
+ .append("userId", getUserId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddressPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddressPlus.java
new file mode 100644
index 0000000..82b977a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WalletAddressPlus.java
@@ -0,0 +1,134 @@
+package com.ruoyi.system.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * token管理对象 wallet_address
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@TableName(value = "wallet_address")
+public class WalletAddressPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ @Excel(name = "主键")
+ private Long id;
+ /** Token */
+ @Excel(name = "Token")
+ private String token;
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+ /** 删除时间 */
+ private Date deletedAt;
+ /** 应用 */
+ @Excel(name = "应用")
+ private Long appId;
+ /** 用户 */
+ @Excel(name = "用户")
+ private Long userId;
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setToken(String token)
+ {
+ this.token = token;
+ }
+
+ public String getToken()
+ {
+ return token;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setAppId(Long appId)
+ {
+ this.appId = appId;
+ }
+
+ public Long getAppId()
+ {
+ return appId;
+ }
+ public void setUserId(Long userId)
+ {
+ this.userId = userId;
+ }
+
+ public Long getUserId()
+ {
+ return userId;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("token", getToken())
+ .append("status", getStatus())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("appId", getAppId())
+ .append("userId", getUserId())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3Wallet.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3Wallet.java
new file mode 100644
index 0000000..e4703ae
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3Wallet.java
@@ -0,0 +1,139 @@
+package com.ruoyi.system.domain;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+/**
+ * 钱包管理对象 web3_wallet
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public class Web3Wallet extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 用户 */
+ private Long id;
+
+ /** usdt */
+ @Excel(name = "usdt")
+ private BigDecimal usdtBalance;
+
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+
+ /** 删除时间 */
+ private Date deletedAt;
+
+ /** trx */
+ @Excel(name = "trx")
+ private BigDecimal trxBalance;
+
+ /** eth */
+ @Excel(name = "eth")
+ private BigDecimal ethBalance;
+
+ /** 密码 */
+ @Excel(name = "密码")
+ private String password;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUsdtBalance(BigDecimal usdtBalance)
+ {
+ this.usdtBalance = usdtBalance;
+ }
+
+ public BigDecimal getUsdtBalance()
+ {
+ return usdtBalance;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setTrxBalance(BigDecimal trxBalance)
+ {
+ this.trxBalance = trxBalance;
+ }
+
+ public BigDecimal getTrxBalance()
+ {
+ return trxBalance;
+ }
+ public void setEthBalance(BigDecimal ethBalance)
+ {
+ this.ethBalance = ethBalance;
+ }
+
+ public BigDecimal getEthBalance()
+ {
+ return ethBalance;
+ }
+ public void setPassword(String password)
+ {
+ this.password = password;
+ }
+
+ public String getPassword()
+ {
+ return password;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("usdtBalance", getUsdtBalance())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("trxBalance", getTrxBalance())
+ .append("ethBalance", getEthBalance())
+ .append("password", getPassword())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3WalletPlus.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3WalletPlus.java
new file mode 100644
index 0000000..40acb23
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Web3WalletPlus.java
@@ -0,0 +1,134 @@
+package com.ruoyi.system.domain;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableName;
+/**
+ * 钱包管理对象 web3_wallet
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+@TableName(value = "web3_wallet")
+public class Web3WalletPlus implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 用户 */
+ private Long id;
+ /** usdt */
+ @Excel(name = "usdt")
+ private BigDecimal usdtBalance;
+ /** 创建时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date createdAt;
+ /** 更新时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date updatedAt;
+ /** 删除时间 */
+ private Date deletedAt;
+ /** trx */
+ @Excel(name = "trx")
+ private BigDecimal trxBalance;
+ /** eth */
+ @Excel(name = "eth")
+ private BigDecimal ethBalance;
+ /** 密码 */
+ @Excel(name = "密码")
+ private String password;
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setUsdtBalance(BigDecimal usdtBalance)
+ {
+ this.usdtBalance = usdtBalance;
+ }
+
+ public BigDecimal getUsdtBalance()
+ {
+ return usdtBalance;
+ }
+ public void setCreatedAt(Date createdAt)
+ {
+ this.createdAt = createdAt;
+ }
+
+ public Date getCreatedAt()
+ {
+ return createdAt;
+ }
+ public void setUpdatedAt(Date updatedAt)
+ {
+ this.updatedAt = updatedAt;
+ }
+
+ public Date getUpdatedAt()
+ {
+ return updatedAt;
+ }
+ public void setDeletedAt(Date deletedAt)
+ {
+ this.deletedAt = deletedAt;
+ }
+
+ public Date getDeletedAt()
+ {
+ return deletedAt;
+ }
+ public void setTrxBalance(BigDecimal trxBalance)
+ {
+ this.trxBalance = trxBalance;
+ }
+
+ public BigDecimal getTrxBalance()
+ {
+ return trxBalance;
+ }
+ public void setEthBalance(BigDecimal ethBalance)
+ {
+ this.ethBalance = ethBalance;
+ }
+
+ public BigDecimal getEthBalance()
+ {
+ return ethBalance;
+ }
+ public void setPassword(String password)
+ {
+ this.password = password;
+ }
+
+ public String getPassword()
+ {
+ return password;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("usdtBalance", getUsdtBalance())
+ .append("createdAt", getCreatedAt())
+ .append("updatedAt", getUpdatedAt())
+ .append("deletedAt", getDeletedAt())
+ .append("trxBalance", getTrxBalance())
+ .append("ethBalance", getEthBalance())
+ .append("password", getPassword())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java
new file mode 100644
index 0000000..af7234c
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java
@@ -0,0 +1,71 @@
+package com.ruoyi.system.domain.vo;
+
+/**
+ * 路由显示信息
+ *
+ * @author ruoyi
+ */
+public class MetaVo
+{
+ /**
+ * 设置该路由在侧边栏和面包屑中展示的名字
+ */
+ private String title;
+
+ /**
+ * 设置该路由的图标,对应路径src/assets/icons/svg
+ */
+ private String icon;
+
+ /**
+ * 设置为true,则不会被 缓存
+ */
+ private boolean noCache;
+
+ public MetaVo()
+ {
+ }
+
+ public MetaVo(String title, String icon)
+ {
+ this.title = title;
+ this.icon = icon;
+ }
+
+ public MetaVo(String title, String icon, boolean noCache)
+ {
+ this.title = title;
+ this.icon = icon;
+ this.noCache = noCache;
+ }
+
+ public boolean isNoCache()
+ {
+ return noCache;
+ }
+
+ public void setNoCache(boolean noCache)
+ {
+ this.noCache = noCache;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getIcon()
+ {
+ return icon;
+ }
+
+ public void setIcon(String icon)
+ {
+ this.icon = icon;
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/RouterVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/RouterVo.java
new file mode 100644
index 0000000..b5501b7
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/RouterVo.java
@@ -0,0 +1,133 @@
+package com.ruoyi.system.domain.vo;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import java.util.List;
+
+/**
+ * 路由配置信息
+ *
+ * @author ruoyi
+ */
+@JsonInclude(JsonInclude.Include.NON_EMPTY)
+public class RouterVo
+{
+ /**
+ * 路由名字
+ */
+ private String name;
+
+ /**
+ * 路由地址
+ */
+ private String path;
+
+ /**
+ * 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
+ */
+ private boolean hidden;
+
+ /**
+ * 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
+ */
+ private String redirect;
+
+ /**
+ * 组件地址
+ */
+ private String component;
+
+ /**
+ * 当你一个路由下面的 children 声明的路由大于1个时,自动会变成嵌套的模式--如组件页面
+ */
+ private Boolean alwaysShow;
+
+ /**
+ * 其他元素
+ */
+ private MetaVo meta;
+
+ /**
+ * 子路由
+ */
+ private List children;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getPath()
+ {
+ return path;
+ }
+
+ public void setPath(String path)
+ {
+ this.path = path;
+ }
+
+ public boolean getHidden()
+ {
+ return hidden;
+ }
+
+ public void setHidden(boolean hidden)
+ {
+ this.hidden = hidden;
+ }
+
+ public String getRedirect()
+ {
+ return redirect;
+ }
+
+ public void setRedirect(String redirect)
+ {
+ this.redirect = redirect;
+ }
+
+ public String getComponent()
+ {
+ return component;
+ }
+
+ public void setComponent(String component)
+ {
+ this.component = component;
+ }
+
+ public Boolean getAlwaysShow()
+ {
+ return alwaysShow;
+ }
+
+ public void setAlwaysShow(Boolean alwaysShow)
+ {
+ this.alwaysShow = alwaysShow;
+ }
+
+ public MetaVo getMeta()
+ {
+ return meta;
+ }
+
+ public void setMeta(MetaVo meta)
+ {
+ this.meta = meta;
+ }
+
+ public List getChildren()
+ {
+ return children;
+ }
+
+ public void setChildren(List children)
+ {
+ this.children = children;
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppApiKeysMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppApiKeysMapper.java
new file mode 100644
index 0000000..f6c6a29
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppApiKeysMapper.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.AppApiKeys;
+import com.ruoyi.system.domain.AppApiKeysPlus;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author luqj
+ * @date 2025-11-20
+ */
+public interface AppApiKeysMapper extends BaseMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 【请填写功能名称】
+ */
+ public AppApiKeys selectAppApiKeysById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param appApiKeys 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectAppApiKeysList(AppApiKeys appApiKeys);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param appApiKeys 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertAppApiKeys(AppApiKeys appApiKeys);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param appApiKeys 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateAppApiKeys(AppApiKeys appApiKeys);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 结果
+ */
+ public int deleteAppApiKeysById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteAppApiKeysByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppsMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppsMapper.java
new file mode 100644
index 0000000..1e96c67
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AppsMapper.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.Apps;
+import com.ruoyi.system.domain.AppsPlus;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author luqj
+ * @date 2025-11-20
+ */
+public interface AppsMapper extends BaseMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 【请填写功能名称】
+ */
+ public Apps selectAppsById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param apps 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectAppsList(Apps apps);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param apps 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertApps(Apps apps);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param apps 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateApps(Apps apps);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 结果
+ */
+ public int deleteAppsById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteAppsByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
new file mode 100644
index 0000000..0ed0c0a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
@@ -0,0 +1,68 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysConfig;
+
+/**
+ * 参数配置 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysConfigMapper
+{
+ /**
+ * 查询参数配置信息
+ *
+ * @param config 参数配置信息
+ * @return 参数配置信息
+ */
+ public SysConfig selectConfig(SysConfig config);
+
+ /**
+ * 查询参数配置列表
+ *
+ * @param config 参数配置信息
+ * @return 参数配置集合
+ */
+ public List selectConfigList(SysConfig config);
+
+ /**
+ * 根据键名查询参数配置信息
+ *
+ * @param configKey 参数键名
+ * @return 参数配置信息
+ */
+ public SysConfig checkConfigKeyUnique(String configKey);
+
+ /**
+ * 新增参数配置
+ *
+ * @param config 参数配置信息
+ * @return 结果
+ */
+ public int insertConfig(SysConfig config);
+
+ /**
+ * 修改参数配置
+ *
+ * @param config 参数配置信息
+ * @return 结果
+ */
+ public int updateConfig(SysConfig config);
+
+ /**
+ * 删除参数配置
+ *
+ * @param configId 参数ID
+ * @return 结果
+ */
+ public int deleteConfigById(Long configId);
+
+ /**
+ * 批量删除参数信息
+ *
+ * @param configIds 需要删除的参数ID
+ * @return 结果
+ */
+ public int deleteConfigByIds(Long[] configIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
new file mode 100644
index 0000000..000bf66
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -0,0 +1,118 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.common.core.domain.entity.SysDept;
+
+/**
+ * 部门管理 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysDeptMapper
+{
+ /**
+ * 查询部门管理数据
+ *
+ * @param dept 部门信息
+ * @return 部门信息集合
+ */
+ public List selectDeptList(SysDept dept);
+
+ /**
+ * 根据角色ID查询部门树信息
+ *
+ * @param roleId 角色ID
+ * @param deptCheckStrictly 部门树选择项是否关联显示
+ * @return 选中部门列表
+ */
+ public List selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
+
+ /**
+ * 根据部门ID查询信息
+ *
+ * @param deptId 部门ID
+ * @return 部门信息
+ */
+ public SysDept selectDeptById(Long deptId);
+
+ /**
+ * 根据ID查询所有子部门
+ *
+ * @param deptId 部门ID
+ * @return 部门列表
+ */
+ public List selectChildrenDeptById(Long deptId);
+
+ /**
+ * 根据ID查询所有子部门(正常状态)
+ *
+ * @param deptId 部门ID
+ * @return 子部门数
+ */
+ public int selectNormalChildrenDeptById(Long deptId);
+
+ /**
+ * 是否存在子节点
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public int hasChildByDeptId(Long deptId);
+
+ /**
+ * 查询部门是否存在用户
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public int checkDeptExistUser(Long deptId);
+
+ /**
+ * 校验部门名称是否唯一
+ *
+ * @param deptName 部门名称
+ * @param parentId 父部门ID
+ * @return 结果
+ */
+ public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
+
+ /**
+ * 新增部门信息
+ *
+ * @param dept 部门信息
+ * @return 结果
+ */
+ public int insertDept(SysDept dept);
+
+ /**
+ * 修改部门信息
+ *
+ * @param dept 部门信息
+ * @return 结果
+ */
+ public int updateDept(SysDept dept);
+
+ /**
+ * 修改所在部门的父级部门状态
+ *
+ * @param dept 部门
+ */
+ public void updateDeptStatus(SysDept dept);
+
+ /**
+ * 修改子元素关系
+ *
+ * @param depts 子元素
+ * @return 结果
+ */
+ public int updateDeptChildren(@Param("depts") List depts);
+
+ /**
+ * 删除部门管理信息
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public int deleteDeptById(Long deptId);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java
new file mode 100644
index 0000000..a341f1e
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java
@@ -0,0 +1,95 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.common.core.domain.entity.SysDictData;
+
+/**
+ * 字典表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysDictDataMapper
+{
+ /**
+ * 根据条件分页查询字典数据
+ *
+ * @param dictData 字典数据信息
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataList(SysDictData dictData);
+
+ /**
+ * 根据字典类型查询字典数据
+ *
+ * @param dictType 字典类型
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataByType(String dictType);
+
+ /**
+ * 根据字典类型和字典键值查询字典数据信息
+ *
+ * @param dictType 字典类型
+ * @param dictValue 字典键值
+ * @return 字典标签
+ */
+ public String selectDictLabel(@Param("dictType") String dictType, @Param("dictValue") String dictValue);
+
+ /**
+ * 根据字典数据ID查询信息
+ *
+ * @param dictCode 字典数据ID
+ * @return 字典数据
+ */
+ public SysDictData selectDictDataById(Long dictCode);
+
+ /**
+ * 查询字典数据
+ *
+ * @param dictType 字典类型
+ * @return 字典数据
+ */
+ public int countDictDataByType(String dictType);
+
+ /**
+ * 通过字典ID删除字典数据信息
+ *
+ * @param dictCode 字典数据ID
+ * @return 结果
+ */
+ public int deleteDictDataById(Long dictCode);
+
+ /**
+ * 批量删除字典数据信息
+ *
+ * @param dictCodes 需要删除的字典数据ID
+ * @return 结果
+ */
+ public int deleteDictDataByIds(Long[] dictCodes);
+
+ /**
+ * 新增字典数据信息
+ *
+ * @param dictData 字典数据信息
+ * @return 结果
+ */
+ public int insertDictData(SysDictData dictData);
+
+ /**
+ * 修改字典数据信息
+ *
+ * @param dictData 字典数据信息
+ * @return 结果
+ */
+ public int updateDictData(SysDictData dictData);
+
+ /**
+ * 同步修改字典类型
+ *
+ * @param oldDictType 旧字典类型
+ * @param newDictType 新旧字典类型
+ * @return 结果
+ */
+ public int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java
new file mode 100644
index 0000000..e1a2934
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java
@@ -0,0 +1,87 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import com.ruoyi.common.core.domain.entity.SysDictType;
+
+/**
+ * 字典表 数据层
+ *
+ * @author ruoyi
+ */
+@Mapper
+public interface SysDictTypeMapper
+{
+ /**
+ * 根据条件分页查询字典类型
+ *
+ * @param dictType 字典类型信息
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeList(SysDictType dictType);
+
+ /**
+ * 根据所有字典类型
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeAll();
+
+ List selectDbAllTables();
+
+ /**
+ * 根据字典类型ID查询信息
+ *
+ * @param dictId 字典类型ID
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeById(Long dictId);
+
+ /**
+ * 根据字典类型查询信息
+ *
+ * @param dictType 字典类型
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeByType(String dictType);
+
+ /**
+ * 通过字典ID删除字典信息
+ *
+ * @param dictId 字典ID
+ * @return 结果
+ */
+ public int deleteDictTypeById(Long dictId);
+
+ /**
+ * 批量删除字典类型信息
+ *
+ * @param dictIds 需要删除的字典ID
+ * @return 结果
+ */
+ public int deleteDictTypeByIds(Long[] dictIds);
+
+ /**
+ * 新增字典类型信息
+ *
+ * @param dictType 字典类型信息
+ * @return 结果
+ */
+ public int insertDictType(SysDictType dictType);
+
+ /**
+ * 修改字典类型信息
+ *
+ * @param dictType 字典类型信息
+ * @return 结果
+ */
+ public int updateDictType(SysDictType dictType);
+
+ /**
+ * 校验字典类型称是否唯一
+ *
+ * @param dictType 字典类型
+ * @return 结果
+ */
+ public SysDictType checkDictTypeUnique(String dictType);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java
new file mode 100644
index 0000000..629866f
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java
@@ -0,0 +1,42 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysLogininfor;
+
+/**
+ * 系统访问日志情况信息 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysLogininforMapper
+{
+ /**
+ * 新增系统登录日志
+ *
+ * @param logininfor 访问日志对象
+ */
+ public void insertLogininfor(SysLogininfor logininfor);
+
+ /**
+ * 查询系统登录日志集合
+ *
+ * @param logininfor 访问日志对象
+ * @return 登录记录集合
+ */
+ public List selectLogininforList(SysLogininfor logininfor);
+
+ /**
+ * 批量删除系统登录日志
+ *
+ * @param infoIds 需要删除的登录日志ID
+ * @return 结果
+ */
+ public int deleteLogininforByIds(Long[] infoIds);
+
+ /**
+ * 清空系统登录日志
+ *
+ * @return 结果
+ */
+ public int cleanLogininfor();
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java
new file mode 100644
index 0000000..1c2e853
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java
@@ -0,0 +1,117 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.common.core.domain.entity.SysMenu;
+
+/**
+ * 菜单表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysMenuMapper
+{
+ /**
+ * 查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ * @return 菜单列表
+ */
+ public List selectMenuList(SysMenu menu);
+
+ /**
+ * 根据用户所有权限
+ *
+ * @return 权限列表
+ */
+ public List selectMenuPerms();
+
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ * @return 菜单列表
+ */
+ public List selectMenuListByUserId(SysMenu menu);
+
+ /**
+ * 根据用户ID查询权限
+ *
+ * @param userId 用户ID
+ * @return 权限列表
+ */
+ public List selectMenuPermsByUserId(Long userId);
+
+ /**
+ * 根据用户ID查询菜单
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuTreeAll();
+
+ /**
+ * 根据用户ID查询菜单
+ *
+ * @param userId 用户ID
+ * @return 菜单列表
+ */
+ public List selectMenuTreeByUserId(Long userId);
+
+ /**
+ * 根据角色ID查询菜单树信息
+ *
+ * @param roleId 角色ID
+ * @param menuCheckStrictly 菜单树选择项是否关联显示
+ * @return 选中菜单列表
+ */
+ public List selectMenuListByRoleId(@Param("roleId") Long roleId, @Param("menuCheckStrictly") boolean menuCheckStrictly);
+
+ /**
+ * 根据菜单ID查询信息
+ *
+ * @param menuId 菜单ID
+ * @return 菜单信息
+ */
+ public SysMenu selectMenuById(Long menuId);
+
+ /**
+ * 是否存在菜单子节点
+ *
+ * @param menuId 菜单ID
+ * @return 结果
+ */
+ public int hasChildByMenuId(Long menuId);
+
+ /**
+ * 新增菜单信息
+ *
+ * @param menu 菜单信息
+ * @return 结果
+ */
+ public int insertMenu(SysMenu menu);
+
+ /**
+ * 修改菜单信息
+ *
+ * @param menu 菜单信息
+ * @return 结果
+ */
+ public int updateMenu(SysMenu menu);
+
+ /**
+ * 删除菜单管理信息
+ *
+ * @param menuId 菜单ID
+ * @return 结果
+ */
+ public int deleteMenuById(Long menuId);
+
+ /**
+ * 校验菜单名称是否唯一
+ *
+ * @param menuName 菜单名称
+ * @param parentId 父菜单ID
+ * @return 结果
+ */
+ public SysMenu checkMenuNameUnique(@Param("menuName") String menuName, @Param("parentId") Long parentId);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java
new file mode 100644
index 0000000..c34f0a2
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java
@@ -0,0 +1,60 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysNotice;
+
+/**
+ * 通知公告表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysNoticeMapper
+{
+ /**
+ * 查询公告信息
+ *
+ * @param noticeId 公告ID
+ * @return 公告信息
+ */
+ public SysNotice selectNoticeById(Long noticeId);
+
+ /**
+ * 查询公告列表
+ *
+ * @param notice 公告信息
+ * @return 公告集合
+ */
+ public List selectNoticeList(SysNotice notice);
+
+ /**
+ * 新增公告
+ *
+ * @param notice 公告信息
+ * @return 结果
+ */
+ public int insertNotice(SysNotice notice);
+
+ /**
+ * 修改公告
+ *
+ * @param notice 公告信息
+ * @return 结果
+ */
+ public int updateNotice(SysNotice notice);
+
+ /**
+ * 批量删除公告
+ *
+ * @param noticeId 公告ID
+ * @return 结果
+ */
+ public int deleteNoticeById(Long noticeId);
+
+ /**
+ * 批量删除公告信息
+ *
+ * @param noticeIds 需要删除的公告ID
+ * @return 结果
+ */
+ public int deleteNoticeByIds(Long[] noticeIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java
new file mode 100644
index 0000000..2ae6457
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java
@@ -0,0 +1,48 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysOperLog;
+
+/**
+ * 操作日志 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysOperLogMapper
+{
+ /**
+ * 新增操作日志
+ *
+ * @param operLog 操作日志对象
+ */
+ public void insertOperlog(SysOperLog operLog);
+
+ /**
+ * 查询系统操作日志集合
+ *
+ * @param operLog 操作日志对象
+ * @return 操作日志集合
+ */
+ public List selectOperLogList(SysOperLog operLog);
+
+ /**
+ * 批量删除系统操作日志
+ *
+ * @param operIds 需要删除的操作日志ID
+ * @return 结果
+ */
+ public int deleteOperLogByIds(Long[] operIds);
+
+ /**
+ * 查询操作日志详细
+ *
+ * @param operId 操作ID
+ * @return 操作日志对象
+ */
+ public SysOperLog selectOperLogById(Long operId);
+
+ /**
+ * 清空操作日志
+ */
+ public void cleanOperLog();
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java
new file mode 100644
index 0000000..b428747
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java
@@ -0,0 +1,99 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysPost;
+
+/**
+ * 岗位信息 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysPostMapper
+{
+ /**
+ * 查询岗位数据集合
+ *
+ * @param post 岗位信息
+ * @return 岗位数据集合
+ */
+ public List selectPostList(SysPost post);
+
+ /**
+ * 查询所有岗位
+ *
+ * @return 岗位列表
+ */
+ public List selectPostAll();
+
+ /**
+ * 通过岗位ID查询岗位信息
+ *
+ * @param postId 岗位ID
+ * @return 角色对象信息
+ */
+ public SysPost selectPostById(Long postId);
+
+ /**
+ * 根据用户ID获取岗位选择框列表
+ *
+ * @param userId 用户ID
+ * @return 选中岗位ID列表
+ */
+ public List selectPostListByUserId(Long userId);
+
+ /**
+ * 查询用户所属岗位组
+ *
+ * @param userName 用户名
+ * @return 结果
+ */
+ public List selectPostsByUserName(String userName);
+
+ /**
+ * 删除岗位信息
+ *
+ * @param postId 岗位ID
+ * @return 结果
+ */
+ public int deletePostById(Long postId);
+
+ /**
+ * 批量删除岗位信息
+ *
+ * @param postIds 需要删除的岗位ID
+ * @return 结果
+ */
+ public int deletePostByIds(Long[] postIds);
+
+ /**
+ * 修改岗位信息
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public int updatePost(SysPost post);
+
+ /**
+ * 新增岗位信息
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public int insertPost(SysPost post);
+
+ /**
+ * 校验岗位名称
+ *
+ * @param postName 岗位名称
+ * @return 结果
+ */
+ public SysPost checkPostNameUnique(String postName);
+
+ /**
+ * 校验岗位编码
+ *
+ * @param postCode 岗位编码
+ * @return 结果
+ */
+ public SysPost checkPostCodeUnique(String postCode);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleDeptMapper.java
new file mode 100644
index 0000000..f9d3a2f
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleDeptMapper.java
@@ -0,0 +1,44 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysRoleDept;
+
+/**
+ * 角色与部门关联表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysRoleDeptMapper
+{
+ /**
+ * 通过角色ID删除角色和部门关联
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int deleteRoleDeptByRoleId(Long roleId);
+
+ /**
+ * 批量删除角色部门关联信息
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteRoleDept(Long[] ids);
+
+ /**
+ * 查询部门使用数量
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public int selectCountRoleDeptByDeptId(Long deptId);
+
+ /**
+ * 批量新增角色部门信息
+ *
+ * @param roleDeptList 角色部门列表
+ * @return 结果
+ */
+ public int batchRoleDept(List roleDeptList);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMapper.java
new file mode 100644
index 0000000..16d5594
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMapper.java
@@ -0,0 +1,107 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.common.core.domain.entity.SysRole;
+
+/**
+ * 角色表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysRoleMapper
+{
+ /**
+ * 根据条件分页查询角色数据
+ *
+ * @param role 角色信息
+ * @return 角色数据集合信息
+ */
+ public List selectRoleList(SysRole role);
+
+ /**
+ * 根据用户ID查询角色
+ *
+ * @param userId 用户ID
+ * @return 角色列表
+ */
+ public List selectRolePermissionByUserId(Long userId);
+
+ /**
+ * 查询所有角色
+ *
+ * @return 角色列表
+ */
+ public List selectRoleAll();
+
+ /**
+ * 根据用户ID获取角色选择框列表
+ *
+ * @param userId 用户ID
+ * @return 选中角色ID列表
+ */
+ public List selectRoleListByUserId(Long userId);
+
+ /**
+ * 通过角色ID查询角色
+ *
+ * @param roleId 角色ID
+ * @return 角色对象信息
+ */
+ public SysRole selectRoleById(Long roleId);
+
+ /**
+ * 根据用户ID查询角色
+ *
+ * @param userName 用户名
+ * @return 角色列表
+ */
+ public List selectRolesByUserName(String userName);
+
+ /**
+ * 校验角色名称是否唯一
+ *
+ * @param roleName 角色名称
+ * @return 角色信息
+ */
+ public SysRole checkRoleNameUnique(String roleName);
+
+ /**
+ * 校验角色权限是否唯一
+ *
+ * @param roleKey 角色权限
+ * @return 角色信息
+ */
+ public SysRole checkRoleKeyUnique(String roleKey);
+
+ /**
+ * 修改角色信息
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int updateRole(SysRole role);
+
+ /**
+ * 新增角色信息
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int insertRole(SysRole role);
+
+ /**
+ * 通过角色ID删除角色
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int deleteRoleById(Long roleId);
+
+ /**
+ * 批量删除角色信息
+ *
+ * @param roleIds 需要删除的角色ID
+ * @return 结果
+ */
+ public int deleteRoleByIds(Long[] roleIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMenuMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMenuMapper.java
new file mode 100644
index 0000000..6602bee
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMenuMapper.java
@@ -0,0 +1,44 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysRoleMenu;
+
+/**
+ * 角色与菜单关联表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysRoleMenuMapper
+{
+ /**
+ * 查询菜单使用数量
+ *
+ * @param menuId 菜单ID
+ * @return 结果
+ */
+ public int checkMenuExistRole(Long menuId);
+
+ /**
+ * 通过角色ID删除角色和菜单关联
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int deleteRoleMenuByRoleId(Long roleId);
+
+ /**
+ * 批量删除角色菜单关联信息
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteRoleMenu(Long[] ids);
+
+ /**
+ * 批量新增角色菜单信息
+ *
+ * @param roleMenuList 角色菜单列表
+ * @return 结果
+ */
+ public int batchRoleMenu(List roleMenuList);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserMapper.java
new file mode 100644
index 0000000..e795624
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserMapper.java
@@ -0,0 +1,119 @@
+package com.ruoyi.system.mapper;
+
+import com.ruoyi.common.core.domain.entity.SysUser;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 用户表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysUserMapper {
+ /**
+ * 根据条件分页查询用户列表
+ *
+ * @param sysUser 用户信息
+ * @return 用户信息集合信息
+ */
+ public List selectUserList(SysUser sysUser);
+
+ /**
+ * 通过用户名查询用户
+ *
+ * @param userName 用户名
+ * @return 用户对象信息
+ */
+ public SysUser selectUserByUserName(String userName);
+
+ /**
+ * 通过用户ID查询用户
+ *
+ * @param userId 用户ID
+ * @return 用户对象信息
+ */
+ public SysUser selectUserById(@Param("userId") Long userId);
+
+ List selectUserByIds(@Param("userIds") List userIds);
+
+
+ List selectSelectUserByIds(@Param("userIds") List userIds);
+
+ /**
+ * 新增用户信息
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int insertUser(SysUser user);
+
+ /**
+ * 修改用户信息
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int updateUser(SysUser user);
+
+ /**
+ * 修改用户头像
+ *
+ * @param userName 用户名
+ * @param avatar 头像地址
+ * @return 结果
+ */
+ public int updateUserAvatar(@Param("userName") String userName, @Param("avatar") String avatar);
+
+
+ public int updateNickName(@Param("userName") String userName, @Param("nickName") String avatar);
+
+ /**
+ * 重置用户密码
+ *
+ * @param userName 用户名
+ * @param password 密码
+ * @return 结果
+ */
+ public int resetUserPwd(@Param("userName") String userName, @Param("password") String password);
+
+ /**
+ * 通过用户ID删除用户
+ *
+ * @param userId 用户ID
+ * @return 结果
+ */
+ public int deleteUserById(Long userId);
+
+ /**
+ * 批量删除用户信息
+ *
+ * @param userIds 需要删除的用户ID
+ * @return 结果
+ */
+ public int deleteUserByIds(Long[] userIds);
+
+ /**
+ * 校验用户名称是否唯一
+ *
+ * @param userName 用户名称
+ * @return 结果
+ */
+ public int checkUserNameUnique(String userName);
+
+ /**
+ * 校验手机号码是否唯一
+ *
+ * @param phonenumber 手机号码
+ * @return 结果
+ */
+ public SysUser checkPhoneUnique(String phonenumber);
+
+ /**
+ * 校验email是否唯一
+ *
+ * @param email 用户邮箱
+ * @return 结果
+ */
+ public SysUser checkEmailUnique(String email);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java
new file mode 100644
index 0000000..e08991d
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java
@@ -0,0 +1,44 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysUserPost;
+
+/**
+ * 用户与岗位关联表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysUserPostMapper
+{
+ /**
+ * 通过用户ID删除用户和岗位关联
+ *
+ * @param userId 用户ID
+ * @return 结果
+ */
+ public int deleteUserPostByUserId(Long userId);
+
+ /**
+ * 通过岗位ID查询岗位使用数量
+ *
+ * @param postId 岗位ID
+ * @return 结果
+ */
+ public int countUserPostById(Long postId);
+
+ /**
+ * 批量删除用户和岗位关联
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteUserPost(Long[] ids);
+
+ /**
+ * 批量新增用户岗位信息
+ *
+ * @param userPostList 用户角色列表
+ * @return 结果
+ */
+ public int batchUserPost(List userPostList);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserRoleMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserRoleMapper.java
new file mode 100644
index 0000000..3143ec8
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserRoleMapper.java
@@ -0,0 +1,62 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.SysUserRole;
+
+/**
+ * 用户与角色关联表 数据层
+ *
+ * @author ruoyi
+ */
+public interface SysUserRoleMapper
+{
+ /**
+ * 通过用户ID删除用户和角色关联
+ *
+ * @param userId 用户ID
+ * @return 结果
+ */
+ public int deleteUserRoleByUserId(Long userId);
+
+ /**
+ * 批量删除用户和角色关联
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteUserRole(Long[] ids);
+
+ /**
+ * 通过角色ID查询角色使用数量
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int countUserRoleByRoleId(Long roleId);
+
+ /**
+ * 批量新增用户角色信息
+ *
+ * @param userRoleList 用户角色列表
+ * @return 结果
+ */
+ public int batchUserRole(List userRoleList);
+
+ /**
+ * 删除用户和角色关联信息
+ *
+ * @param userRole 用户和角色关联信息
+ * @return 结果
+ */
+ public int deleteUserRoleInfo(SysUserRole userRole);
+
+ /**
+ * 批量取消授权用户角色
+ *
+ * @param roleId 角色ID
+ * @param userIds 需要删除的用户数据ID
+ * @return 结果
+ */
+ public int deleteUserRoleInfos(@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysWxUserMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysWxUserMapper.java
new file mode 100644
index 0000000..8113e05
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysWxUserMapper.java
@@ -0,0 +1,67 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.SysWxUser;
+import com.ruoyi.system.domain.SysWxUserPlus;
+
+/**
+ * 微信用户Mapper接口
+ *
+ * @author luqj
+ * @date 2021-10-28
+ */
+public interface SysWxUserMapper extends BaseMapper
+{
+ /**
+ * 查询微信用户
+ *
+ * @param id 微信用户ID
+ * @return 微信用户
+ */
+ public SysWxUser selectSysWxUserById(String id);
+
+ int updateUserAvatar(@Param("userId") Long userId, @Param("avatar") String avatar);
+
+ /**
+ * 查询微信用户列表
+ *
+ * @param sysWxUser 微信用户
+ * @return 微信用户集合
+ */
+ public List selectSysWxUserList(SysWxUser sysWxUser);
+
+ /**
+ * 新增微信用户
+ *
+ * @param sysWxUser 微信用户
+ * @return 结果
+ */
+ public int insertSysWxUser(SysWxUser sysWxUser);
+
+ /**
+ * 修改微信用户
+ *
+ * @param sysWxUser 微信用户
+ * @return 结果
+ */
+ public int updateSysWxUser(SysWxUser sysWxUser);
+
+ /**
+ * 删除微信用户
+ *
+ * @param id 微信用户ID
+ * @return 结果
+ */
+ public int deleteSysWxUserById(String id);
+
+ /**
+ * 批量删除微信用户
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteSysWxUserByIds(String[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/UserAuthMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/UserAuthMapper.java
new file mode 100644
index 0000000..7d45c45
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/UserAuthMapper.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.UserAuth;
+import com.ruoyi.system.domain.UserAuthPlus;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author luqj
+ * @date 2025-11-20
+ */
+public interface UserAuthMapper extends BaseMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 【请填写功能名称】
+ */
+ public UserAuth selectUserAuthById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param userAuth 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectUserAuthList(UserAuth userAuth);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param userAuth 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertUserAuth(UserAuth userAuth);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param userAuth 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateUserAuth(UserAuth userAuth);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 结果
+ */
+ public int deleteUserAuthById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteUserAuthByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WalletAddressMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WalletAddressMapper.java
new file mode 100644
index 0000000..288ba7e
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WalletAddressMapper.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.WalletAddress;
+import com.ruoyi.system.domain.WalletAddressPlus;
+
+/**
+ * 钱包Mapper接口
+ *
+ * @author luqj
+ * @date 2025-11-21
+ */
+public interface WalletAddressMapper extends BaseMapper
+{
+ /**
+ * 查询钱包
+ *
+ * @param id 钱包ID
+ * @return 钱包
+ */
+ public WalletAddress selectWalletAddressById(Long id);
+
+ /**
+ * 查询钱包列表
+ *
+ * @param walletAddress 钱包
+ * @return 钱包集合
+ */
+ public List selectWalletAddressList(WalletAddress walletAddress);
+
+ /**
+ * 新增钱包
+ *
+ * @param walletAddress 钱包
+ * @return 结果
+ */
+ public int insertWalletAddress(WalletAddress walletAddress);
+
+ /**
+ * 修改钱包
+ *
+ * @param walletAddress 钱包
+ * @return 结果
+ */
+ public int updateWalletAddress(WalletAddress walletAddress);
+
+ /**
+ * 删除钱包
+ *
+ * @param id 钱包ID
+ * @return 结果
+ */
+ public int deleteWalletAddressById(Long id);
+
+ /**
+ * 批量删除钱包
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteWalletAddressByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Web3WalletMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Web3WalletMapper.java
new file mode 100644
index 0000000..e6f75e7
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Web3WalletMapper.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import com.ruoyi.system.domain.Web3Wallet;
+import com.ruoyi.system.domain.Web3WalletPlus;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author luqj
+ * @date 2025-11-21
+ */
+public interface Web3WalletMapper extends BaseMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 【请填写功能名称】
+ */
+ public Web3Wallet selectWeb3WalletById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param web3Wallet 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectWeb3WalletList(Web3Wallet web3Wallet);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param web3Wallet 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertWeb3Wallet(Web3Wallet web3Wallet);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param web3Wallet 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateWeb3Wallet(Web3Wallet web3Wallet);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】ID
+ * @return 结果
+ */
+ public int deleteWeb3WalletById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteWeb3WalletByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppApiKeysService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppApiKeysService.java
new file mode 100644
index 0000000..e698f11
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppApiKeysService.java
@@ -0,0 +1,89 @@
+package com.ruoyi.system.service;
+import java.util.Map;
+import java.util.List;
+import com.ruoyi.system.domain.AppApiKeys;
+import com.ruoyi.system.domain.AppApiKeysPlus;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.ruoyi.common.select.SelectItem;
+/**
+ * 应用密钥Service接口
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public interface IAppApiKeysService extends IService
+{
+
+ List select(String keyword,boolean isUser);
+ /**
+ * 查询应用密钥
+ *
+ * @param id 应用密钥ID
+ * @return 应用密钥
+ */
+ public AppApiKeys selectAppApiKeysById(Long id,boolean isUser);
+
+ /**
+ * 查询应用密钥列表
+ *
+ * @param appApiKeys 应用密钥
+ * @return 应用密钥集合
+ */
+ public List selectAppApiKeysList(AppApiKeys appApiKeys,boolean isUser);
+
+ /**
+ * 新增应用密钥
+ *
+ * @param appApiKeys 应用密钥
+ * @return 结果
+ */
+ public int insertAppApiKeys(AppApiKeys appApiKeys,boolean isUser);
+
+ /**
+ * 修改应用密钥
+ *
+ * @param appApiKeys 应用密钥
+ * @return 结果
+ */
+ public int updateAppApiKeys(AppApiKeys appApiKeys,boolean isUser);
+
+ /**
+ * 批量删除应用密钥
+ *
+ * @param ids 需要删除的应用密钥ID
+ * @return 结果
+ */
+ public int deleteAppApiKeysByIds(Long[] ids,boolean isUser);
+
+ /**
+ * 删除应用密钥信息
+ *
+ * @param id 应用密钥ID
+ * @return 结果
+ */
+ public int deleteAppApiKeysById(Long id,boolean isUser);
+
+ List getByIds(List ids,boolean isUser, SFunction... columns);
+
+ AppApiKeysPlus getById(Long id, SFunction... columns);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+ List countByGroupBy(String select, String where, String groupby, Class tClass);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppsService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppsService.java
new file mode 100644
index 0000000..595432d
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAppsService.java
@@ -0,0 +1,89 @@
+package com.ruoyi.system.service;
+import java.util.Map;
+import java.util.List;
+import com.ruoyi.system.domain.Apps;
+import com.ruoyi.system.domain.AppsPlus;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.ruoyi.common.select.SelectItem;
+/**
+ * 应用管理Service接口
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public interface IAppsService extends IService
+{
+
+ List select(String keyword,boolean isUser);
+ /**
+ * 查询应用管理
+ *
+ * @param id 应用管理ID
+ * @return 应用管理
+ */
+ public Apps selectAppsById(Long id,boolean isUser);
+
+ /**
+ * 查询应用管理列表
+ *
+ * @param apps 应用管理
+ * @return 应用管理集合
+ */
+ public List selectAppsList(Apps apps,boolean isUser);
+
+ /**
+ * 新增应用管理
+ *
+ * @param apps 应用管理
+ * @return 结果
+ */
+ public int insertApps(Apps apps,boolean isUser);
+
+ /**
+ * 修改应用管理
+ *
+ * @param apps 应用管理
+ * @return 结果
+ */
+ public int updateApps(Apps apps,boolean isUser);
+
+ /**
+ * 批量删除应用管理
+ *
+ * @param ids 需要删除的应用管理ID
+ * @return 结果
+ */
+ public int deleteAppsByIds(Long[] ids,boolean isUser);
+
+ /**
+ * 删除应用管理信息
+ *
+ * @param id 应用管理ID
+ * @return 结果
+ */
+ public int deleteAppsById(Long id,boolean isUser);
+
+ List getByIds(List ids,boolean isUser, SFunction... columns);
+
+ AppsPlus getById(Long id, SFunction... columns);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+ List countByGroupBy(String select, String where, String groupby, Class tClass);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java
new file mode 100644
index 0000000..9bca585
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java
@@ -0,0 +1,73 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysConfig;
+
+/**
+ * 参数配置 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysConfigService
+{
+ /**
+ * 查询参数配置信息
+ *
+ * @param configId 参数配置ID
+ * @return 参数配置信息
+ */
+ public SysConfig selectConfigById(Long configId);
+
+ /**
+ * 根据键名查询参数配置信息
+ *
+ * @param configKey 参数键名
+ * @return 参数键值
+ */
+ public String selectConfigByKey(String configKey);
+
+ /**
+ * 查询参数配置列表
+ *
+ * @param config 参数配置信息
+ * @return 参数配置集合
+ */
+ public List selectConfigList(SysConfig config);
+
+ /**
+ * 新增参数配置
+ *
+ * @param config 参数配置信息
+ * @return 结果
+ */
+ public int insertConfig(SysConfig config);
+
+ /**
+ * 修改参数配置
+ *
+ * @param config 参数配置信息
+ * @return 结果
+ */
+ public int updateConfig(SysConfig config);
+
+ /**
+ * 批量删除参数信息
+ *
+ * @param configIds 需要删除的参数ID
+ * @return 结果
+ */
+ public int deleteConfigByIds(Long[] configIds);
+
+ /**
+ * 清空缓存数据
+ */
+ public void clearCache();
+
+ /**
+ * 校验参数键名是否唯一
+ *
+ * @param config 参数信息
+ * @return 结果
+ */
+ public String checkConfigKeyUnique(SysConfig config);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java
new file mode 100644
index 0000000..bf8ab3e
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java
@@ -0,0 +1,109 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.common.core.domain.TreeSelect;
+import com.ruoyi.common.core.domain.entity.SysDept;
+
+/**
+ * 部门管理 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysDeptService
+{
+ /**
+ * 查询部门管理数据
+ *
+ * @param dept 部门信息
+ * @return 部门信息集合
+ */
+ public List selectDeptList(SysDept dept);
+
+ /**
+ * 构建前端所需要树结构
+ *
+ * @param depts 部门列表
+ * @return 树结构列表
+ */
+ public List buildDeptTree(List depts);
+
+ /**
+ * 构建前端所需要下拉树结构
+ *
+ * @param depts 部门列表
+ * @return 下拉树结构列表
+ */
+ public List buildDeptTreeSelect(List depts);
+
+ /**
+ * 根据角色ID查询部门树信息
+ *
+ * @param roleId 角色ID
+ * @return 选中部门列表
+ */
+ public List selectDeptListByRoleId(Long roleId);
+
+ /**
+ * 根据部门ID查询信息
+ *
+ * @param deptId 部门ID
+ * @return 部门信息
+ */
+ public SysDept selectDeptById(Long deptId);
+
+ /**
+ * 根据ID查询所有子部门(正常状态)
+ *
+ * @param deptId 部门ID
+ * @return 子部门数
+ */
+ public int selectNormalChildrenDeptById(Long deptId);
+
+ /**
+ * 是否存在部门子节点
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public boolean hasChildByDeptId(Long deptId);
+
+ /**
+ * 查询部门是否存在用户
+ *
+ * @param deptId 部门ID
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean checkDeptExistUser(Long deptId);
+
+ /**
+ * 校验部门名称是否唯一
+ *
+ * @param dept 部门信息
+ * @return 结果
+ */
+ public String checkDeptNameUnique(SysDept dept);
+
+ /**
+ * 新增保存部门信息
+ *
+ * @param dept 部门信息
+ * @return 结果
+ */
+ public int insertDept(SysDept dept);
+
+ /**
+ * 修改保存部门信息
+ *
+ * @param dept 部门信息
+ * @return 结果
+ */
+ public int updateDept(SysDept dept);
+
+ /**
+ * 删除部门管理信息
+ *
+ * @param deptId 部门ID
+ * @return 结果
+ */
+ public int deleteDeptById(Long deptId);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictDataService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictDataService.java
new file mode 100644
index 0000000..6cebd69
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictDataService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.common.core.domain.entity.SysDictData;
+
+/**
+ * 字典 业务层
+ *
+ * @author ruoyi
+ */
+public interface ISysDictDataService
+{
+ /**
+ * 根据条件分页查询字典数据
+ *
+ * @param dictData 字典数据信息
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataList(SysDictData dictData);
+
+ /**
+ * 根据字典类型和字典键值查询字典数据信息
+ *
+ * @param dictType 字典类型
+ * @param dictValue 字典键值
+ * @return 字典标签
+ */
+ public String selectDictLabel(String dictType, String dictValue);
+
+ /**
+ * 根据字典数据ID查询信息
+ *
+ * @param dictCode 字典数据ID
+ * @return 字典数据
+ */
+ public SysDictData selectDictDataById(Long dictCode);
+
+ /**
+ * 批量删除字典数据信息
+ *
+ * @param dictCodes 需要删除的字典数据ID
+ * @return 结果
+ */
+ public int deleteDictDataByIds(Long[] dictCodes);
+
+ /**
+ * 新增保存字典数据信息
+ *
+ * @param dictData 字典数据信息
+ * @return 结果
+ */
+ public int insertDictData(SysDictData dictData);
+
+ /**
+ * 修改保存字典数据信息
+ *
+ * @param dictData 字典数据信息
+ * @return 结果
+ */
+ public int updateDictData(SysDictData dictData);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java
new file mode 100644
index 0000000..6a475bd
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java
@@ -0,0 +1,91 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.common.core.domain.entity.SysDictData;
+import com.ruoyi.common.core.domain.entity.SysDictType;
+
+/**
+ * 字典 业务层
+ *
+ * @author ruoyi
+ */
+public interface ISysDictTypeService
+{
+ /**
+ * 根据条件分页查询字典类型
+ *
+ * @param dictType 字典类型信息
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeList(SysDictType dictType);
+
+ /**
+ * 根据所有字典类型
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeAll();
+
+
+
+ /**
+ * 根据字典类型查询字典数据
+ *
+ * @param dictType 字典类型
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataByType(String dictType);
+
+ /**
+ * 根据字典类型ID查询信息
+ *
+ * @param dictId 字典类型ID
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeById(Long dictId);
+
+ /**
+ * 根据字典类型查询信息
+ *
+ * @param dictType 字典类型
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeByType(String dictType);
+
+ /**
+ * 批量删除字典信息
+ *
+ * @param dictIds 需要删除的字典ID
+ * @return 结果
+ */
+ public int deleteDictTypeByIds(Long[] dictIds);
+
+ /**
+ * 清空缓存数据
+ */
+ public void clearCache();
+
+ /**
+ * 新增保存字典类型信息
+ *
+ * @param dictType 字典类型信息
+ * @return 结果
+ */
+ public int insertDictType(SysDictType dictType);
+
+ /**
+ * 修改保存字典类型信息
+ *
+ * @param dictType 字典类型信息
+ * @return 结果
+ */
+ public int updateDictType(SysDictType dictType);
+
+ /**
+ * 校验字典类型称是否唯一
+ *
+ * @param dictType 字典类型
+ * @return 结果
+ */
+ public String checkDictTypeUnique(SysDictType dictType);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysLogininforService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysLogininforService.java
new file mode 100644
index 0000000..96c4d54
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysLogininforService.java
@@ -0,0 +1,40 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysLogininfor;
+
+/**
+ * 系统访问日志情况信息 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysLogininforService
+{
+ /**
+ * 新增系统登录日志
+ *
+ * @param logininfor 访问日志对象
+ */
+ public void insertLogininfor(SysLogininfor logininfor);
+
+ /**
+ * 查询系统登录日志集合
+ *
+ * @param logininfor 访问日志对象
+ * @return 登录记录集合
+ */
+ public List selectLogininforList(SysLogininfor logininfor);
+
+ /**
+ * 批量删除系统登录日志
+ *
+ * @param infoIds 需要删除的登录日志ID
+ * @return
+ */
+ public int deleteLogininforByIds(Long[] infoIds);
+
+ /**
+ * 清空系统登录日志
+ */
+ public void cleanLogininfor();
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java
new file mode 100644
index 0000000..f64bee1
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java
@@ -0,0 +1,136 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import java.util.Set;
+import com.ruoyi.common.core.domain.TreeSelect;
+import com.ruoyi.common.core.domain.entity.SysMenu;
+import com.ruoyi.system.domain.vo.RouterVo;
+
+/**
+ * 菜单 业务层
+ *
+ * @author ruoyi
+ */
+public interface ISysMenuService
+{
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param userId 用户ID
+ * @return 菜单列表
+ */
+ public List selectMenuList(Long userId);
+
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ * @param userId 用户ID
+ * @return 菜单列表
+ */
+ public List selectMenuList(SysMenu menu, Long userId);
+
+ /**
+ * 根据用户ID查询权限
+ *
+ * @param userId 用户ID
+ * @return 权限列表
+ */
+ public Set selectMenuPermsByUserId(Long userId);
+
+ /**
+ * 根据用户ID查询菜单树信息
+ *
+ * @param userId 用户ID
+ * @return 菜单列表
+ */
+ public List selectMenuTreeByUserId(Long userId);
+
+ /**
+ * 根据角色ID查询菜单树信息
+ *
+ * @param roleId 角色ID
+ * @return 选中菜单列表
+ */
+ public List selectMenuListByRoleId(Long roleId);
+
+ /**
+ * 构建前端路由所需要的菜单
+ *
+ * @param menus 菜单列表
+ * @return 路由列表
+ */
+ public List buildMenus(List menus);
+
+ /**
+ * 构建前端所需要树结构
+ *
+ * @param menus 菜单列表
+ * @return 树结构列表
+ */
+ public List buildMenuTree(List menus);
+
+ /**
+ * 构建前端所需要下拉树结构
+ *
+ * @param menus 菜单列表
+ * @return 下拉树结构列表
+ */
+ public List buildMenuTreeSelect(List menus);
+
+ /**
+ * 根据菜单ID查询信息
+ *
+ * @param menuId 菜单ID
+ * @return 菜单信息
+ */
+ public SysMenu selectMenuById(Long menuId);
+
+ /**
+ * 是否存在菜单子节点
+ *
+ * @param menuId 菜单ID
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean hasChildByMenuId(Long menuId);
+
+ /**
+ * 查询菜单是否存在角色
+ *
+ * @param menuId 菜单ID
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean checkMenuExistRole(Long menuId);
+
+ /**
+ * 新增保存菜单信息
+ *
+ * @param menu 菜单信息
+ * @return 结果
+ */
+ public int insertMenu(SysMenu menu);
+
+ /**
+ * 修改保存菜单信息
+ *
+ * @param menu 菜单信息
+ * @return 结果
+ */
+ public int updateMenu(SysMenu menu);
+
+ /**
+ * 删除菜单管理信息
+ *
+ * @param menuId 菜单ID
+ * @return 结果
+ */
+ public int deleteMenuById(Long menuId);
+
+ /**
+ * 校验菜单名称是否唯一
+ *
+ * @param menu 菜单信息
+ * @return 结果
+ */
+ public String checkMenuNameUnique(SysMenu menu);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
new file mode 100644
index 0000000..47ce1b7
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
@@ -0,0 +1,60 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysNotice;
+
+/**
+ * 公告 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysNoticeService
+{
+ /**
+ * 查询公告信息
+ *
+ * @param noticeId 公告ID
+ * @return 公告信息
+ */
+ public SysNotice selectNoticeById(Long noticeId);
+
+ /**
+ * 查询公告列表
+ *
+ * @param notice 公告信息
+ * @return 公告集合
+ */
+ public List selectNoticeList(SysNotice notice);
+
+ /**
+ * 新增公告
+ *
+ * @param notice 公告信息
+ * @return 结果
+ */
+ public int insertNotice(SysNotice notice);
+
+ /**
+ * 修改公告
+ *
+ * @param notice 公告信息
+ * @return 结果
+ */
+ public int updateNotice(SysNotice notice);
+
+ /**
+ * 删除公告信息
+ *
+ * @param noticeId 公告ID
+ * @return 结果
+ */
+ public int deleteNoticeById(Long noticeId);
+
+ /**
+ * 批量删除公告信息
+ *
+ * @param noticeIds 需要删除的公告ID
+ * @return 结果
+ */
+ public int deleteNoticeByIds(Long[] noticeIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java
new file mode 100644
index 0000000..4fd8e5a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java
@@ -0,0 +1,48 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysOperLog;
+
+/**
+ * 操作日志 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysOperLogService
+{
+ /**
+ * 新增操作日志
+ *
+ * @param operLog 操作日志对象
+ */
+ public void insertOperlog(SysOperLog operLog);
+
+ /**
+ * 查询系统操作日志集合
+ *
+ * @param operLog 操作日志对象
+ * @return 操作日志集合
+ */
+ public List selectOperLogList(SysOperLog operLog);
+
+ /**
+ * 批量删除系统操作日志
+ *
+ * @param operIds 需要删除的操作日志ID
+ * @return 结果
+ */
+ public int deleteOperLogByIds(Long[] operIds);
+
+ /**
+ * 查询操作日志详细
+ *
+ * @param operId 操作ID
+ * @return 操作日志对象
+ */
+ public SysOperLog selectOperLogById(Long operId);
+
+ /**
+ * 清空操作日志
+ */
+ public void cleanOperLog();
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java
new file mode 100644
index 0000000..aab216d
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java
@@ -0,0 +1,100 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.SysPost;
+
+/**
+ * 岗位信息 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysPostService
+{
+ /**
+ * 查询岗位信息集合
+ *
+ * @param post 岗位信息
+ * @return 岗位列表
+ */
+ public List selectPostList(SysPost post);
+
+ /**
+ * 查询所有岗位
+ *
+ * @return 岗位列表
+ */
+ public List selectPostAll();
+
+ /**
+ * 通过岗位ID查询岗位信息
+ *
+ * @param postId 岗位ID
+ * @return 角色对象信息
+ */
+ public SysPost selectPostById(Long postId);
+
+ /**
+ * 根据用户ID获取岗位选择框列表
+ *
+ * @param userId 用户ID
+ * @return 选中岗位ID列表
+ */
+ public List selectPostListByUserId(Long userId);
+
+ /**
+ * 校验岗位名称
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public String checkPostNameUnique(SysPost post);
+
+ /**
+ * 校验岗位编码
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public String checkPostCodeUnique(SysPost post);
+
+ /**
+ * 通过岗位ID查询岗位使用数量
+ *
+ * @param postId 岗位ID
+ * @return 结果
+ */
+ public int countUserPostById(Long postId);
+
+ /**
+ * 删除岗位信息
+ *
+ * @param postId 岗位ID
+ * @return 结果
+ */
+ public int deletePostById(Long postId);
+
+ /**
+ * 批量删除岗位信息
+ *
+ * @param postIds 需要删除的岗位ID
+ * @return 结果
+ * @throws Exception 异常
+ */
+ public int deletePostByIds(Long[] postIds);
+
+ /**
+ * 新增保存岗位信息
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public int insertPost(SysPost post);
+
+ /**
+ * 修改保存岗位信息
+ *
+ * @param post 岗位信息
+ * @return 结果
+ */
+ public int updatePost(SysPost post);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java
new file mode 100644
index 0000000..070a5ce
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java
@@ -0,0 +1,131 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import java.util.Set;
+import com.ruoyi.common.core.domain.entity.SysRole;
+
+/**
+ * 角色业务层
+ *
+ * @author ruoyi
+ */
+public interface ISysRoleService
+{
+ /**
+ * 根据条件分页查询角色数据
+ *
+ * @param role 角色信息
+ * @return 角色数据集合信息
+ */
+ public List selectRoleList(SysRole role);
+
+ /**
+ * 根据用户ID查询角色
+ *
+ * @param userId 用户ID
+ * @return 权限列表
+ */
+ public Set selectRolePermissionByUserId(Long userId);
+
+ /**
+ * 查询所有角色
+ *
+ * @return 角色列表
+ */
+ public List selectRoleAll();
+
+ /**
+ * 根据用户ID获取角色选择框列表
+ *
+ * @param userId 用户ID
+ * @return 选中角色ID列表
+ */
+ public List selectRoleListByUserId(Long userId);
+
+ /**
+ * 通过角色ID查询角色
+ *
+ * @param roleId 角色ID
+ * @return 角色对象信息
+ */
+ public SysRole selectRoleById(Long roleId);
+
+ /**
+ * 校验角色名称是否唯一
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public String checkRoleNameUnique(SysRole role);
+
+ /**
+ * 校验角色权限是否唯一
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public String checkRoleKeyUnique(SysRole role);
+
+ /**
+ * 校验角色是否允许操作
+ *
+ * @param role 角色信息
+ */
+ public void checkRoleAllowed(SysRole role);
+
+ /**
+ * 通过角色ID查询角色使用数量
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int countUserRoleByRoleId(Long roleId);
+
+ /**
+ * 新增保存角色信息
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int insertRole(SysRole role);
+
+ /**
+ * 修改保存角色信息
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int updateRole(SysRole role);
+
+ /**
+ * 修改角色状态
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int updateRoleStatus(SysRole role);
+
+ /**
+ * 修改数据权限信息
+ *
+ * @param role 角色信息
+ * @return 结果
+ */
+ public int authDataScope(SysRole role);
+
+ /**
+ * 通过角色ID删除角色
+ *
+ * @param roleId 角色ID
+ * @return 结果
+ */
+ public int deleteRoleById(Long roleId);
+
+ /**
+ * 批量删除角色信息
+ *
+ * @param roleIds 需要删除的角色ID
+ * @return 结果
+ */
+ public int deleteRoleByIds(Long[] roleIds);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserOnlineService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserOnlineService.java
new file mode 100644
index 0000000..8eb5448
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserOnlineService.java
@@ -0,0 +1,48 @@
+package com.ruoyi.system.service;
+
+import com.ruoyi.common.core.domain.model.LoginUser;
+import com.ruoyi.system.domain.SysUserOnline;
+
+/**
+ * 在线用户 服务层
+ *
+ * @author ruoyi
+ */
+public interface ISysUserOnlineService
+{
+ /**
+ * 通过登录地址查询信息
+ *
+ * @param ipaddr 登录地址
+ * @param user 用户信息
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user);
+
+ /**
+ * 通过用户名称查询信息
+ *
+ * @param userName 用户名称
+ * @param user 用户信息
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByUserName(String userName, LoginUser user);
+
+ /**
+ * 通过登录地址/用户名称查询信息
+ *
+ * @param ipaddr 登录地址
+ * @param userName 用户名称
+ * @param user 用户信息
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user);
+
+ /**
+ * 设置在线用户信息
+ *
+ * @param user 用户信息
+ * @return 在线用户
+ */
+ public SysUserOnline loginUserToUserOnline(LoginUser user);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java
new file mode 100644
index 0000000..8a74601
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java
@@ -0,0 +1,184 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import java.util.Map;
+
+import com.ruoyi.common.core.domain.entity.SysUser;
+import com.ruoyi.common.select.SelectItem;
+
+/**
+ * 用户 业务层
+ *
+ * @author ruoyi
+ */
+public interface ISysUserService
+{
+ /**
+ * 根据条件分页查询用户列表
+ *
+ * @param user 用户信息
+ * @return 用户信息集合信息
+ */
+ public List selectUserList(SysUser user);
+
+ /**
+ * 通过用户名查询用户
+ *
+ * @param userName 用户名
+ * @return 用户对象信息
+ */
+ public SysUser selectUserByUserName(String userName);
+
+ /**
+ * 通过用户ID查询用户
+ *
+ * @param userId 用户ID
+ * @return 用户对象信息
+ */
+ public SysUser selectUserById(Long userId);
+
+ /**
+ * 根据用户ID查询用户所属角色组
+ *
+ * @param userName 用户名
+ * @return 结果
+ */
+ public String selectUserRoleGroup(String userName);
+
+ Map selectMapUserById(List userIds);
+
+ List< SysUser> selectListUserByIds(List userIds);
+
+ List< SysUser> userSelectListUserByIds(List userIds);
+
+ List select(String keyword);
+
+ List userSelect(String keyword);
+
+ List selectUserById(List userIds);
+
+ /**
+ * 根据用户ID查询用户所属岗位组
+ *
+ * @param userName 用户名
+ * @return 结果
+ */
+ public String selectUserPostGroup(String userName);
+
+ /**
+ * 校验用户名称是否唯一
+ *
+ * @param userName 用户名称
+ * @return 结果
+ */
+ public String checkUserNameUnique(String userName);
+
+ /**
+ * 校验手机号码是否唯一
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public String checkPhoneUnique(SysUser user);
+
+ /**
+ * 校验email是否唯一
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public String checkEmailUnique(SysUser user);
+
+ /**
+ * 校验用户是否允许操作
+ *
+ * @param user 用户信息
+ */
+ public void checkUserAllowed(SysUser user);
+
+ /**
+ * 新增用户信息
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int insertUser(SysUser user);
+
+ /**
+ * 修改用户信息
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int updateUser(SysUser user);
+
+ /**
+ * 修改用户状态
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int updateUserStatus(SysUser user);
+
+ /**
+ * 修改用户基本信息
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int updateUserProfile(SysUser user);
+
+ /**
+ * 修改用户头像
+ *
+ * @param userName 用户名
+ * @param avatar 头像地址
+ * @return 结果
+ */
+ public boolean updateUserAvatar(String userName, String avatar);
+
+ boolean updateNickName(String userName, String nickName);
+
+ /**
+ * 重置用户密码
+ *
+ * @param user 用户信息
+ * @return 结果
+ */
+ public int resetPwd(SysUser user);
+
+ /**
+ * 重置用户密码
+ *
+ * @param userName 用户名
+ * @param password 密码
+ * @return 结果
+ */
+ public int resetUserPwd(String userName, String password);
+
+ /**
+ * 通过用户ID删除用户
+ *
+ * @param userId 用户ID
+ * @return 结果
+ */
+ public int deleteUserById(Long userId);
+
+ /**
+ * 批量删除用户信息
+ *
+ * @param userIds 需要删除的用户ID
+ * @return 结果
+ */
+ public int deleteUserByIds(Long[] userIds);
+
+ /**
+ * 导入用户数据
+ *
+ * @param userList 用户数据列表
+ * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据
+ * @param operName 操作用户
+ * @return 结果
+ */
+ public String importUser(List userList, Boolean isUpdateSupport, String operName);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysWxUserService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysWxUserService.java
new file mode 100644
index 0000000..0e13f29
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysWxUserService.java
@@ -0,0 +1,94 @@
+package com.ruoyi.system.service;
+
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ruoyi.system.domain.SysWxUser;
+import com.ruoyi.system.domain.SysWxUserPlus;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 微信用户Service接口
+ *
+ * @author luqj
+ * @date 2021-10-28
+ */
+public interface ISysWxUserService extends IService {
+ /**
+ * 查询微信用户
+ *
+ * @param id 微信用户ID
+ * @return 微信用户
+ */
+ public SysWxUser selectSysWxUserById(String id);
+
+ /**
+ * 查询微信用户列表
+ *
+ * @param sysWxUser 微信用户
+ * @return 微信用户集合
+ */
+ public List selectSysWxUserList(SysWxUser sysWxUser);
+
+ /**
+ * 新增微信用户
+ *
+ * @param sysWxUser 微信用户
+ * @return 结果
+ */
+ public int insertSysWxUser(SysWxUser sysWxUser);
+
+ /**
+ * 修改微信用户
+ *
+ * @param sysWxUser 微信用户
+ * @return 结果
+ */
+ public int updateSysWxUser(SysWxUser sysWxUser);
+
+ /**
+ * 批量删除微信用户
+ *
+ * @param ids 需要删除的微信用户ID
+ * @return 结果
+ */
+ public int deleteSysWxUserByIds(String[] ids);
+
+ /**
+ * 删除微信用户信息
+ *
+ * @param id 微信用户ID
+ * @return 结果
+ */
+ public int deleteSysWxUserById(String id);
+
+ List getByIds(List ids, SFunction... columns);
+
+ SysWxUserPlus getById(String id, SFunction... columns);
+
+ SysWxUserPlus getByUserId(Long id);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+ List countByGroupBy(String select, String where, String groupby, Class tClass);
+
+ int updateUserAvatar(Long userId, String avatar);
+
+ int updateNickName(Long userId, String nickname);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IUserAuthService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IUserAuthService.java
new file mode 100644
index 0000000..f19d921
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IUserAuthService.java
@@ -0,0 +1,89 @@
+package com.ruoyi.system.service;
+import java.util.Map;
+import java.util.List;
+import com.ruoyi.system.domain.UserAuth;
+import com.ruoyi.system.domain.UserAuthPlus;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.ruoyi.common.select.SelectItem;
+/**
+ * 用户授权Service接口
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public interface IUserAuthService extends IService
+{
+
+ List select(String keyword,boolean isUser);
+ /**
+ * 查询用户授权
+ *
+ * @param id 用户授权ID
+ * @return 用户授权
+ */
+ public UserAuth selectUserAuthById(Long id,boolean isUser);
+
+ /**
+ * 查询用户授权列表
+ *
+ * @param userAuth 用户授权
+ * @return 用户授权集合
+ */
+ public List selectUserAuthList(UserAuth userAuth,boolean isUser);
+
+ /**
+ * 新增用户授权
+ *
+ * @param userAuth 用户授权
+ * @return 结果
+ */
+ public int insertUserAuth(UserAuth userAuth,boolean isUser);
+
+ /**
+ * 修改用户授权
+ *
+ * @param userAuth 用户授权
+ * @return 结果
+ */
+ public int updateUserAuth(UserAuth userAuth,boolean isUser);
+
+ /**
+ * 批量删除用户授权
+ *
+ * @param ids 需要删除的用户授权ID
+ * @return 结果
+ */
+ public int deleteUserAuthByIds(Long[] ids,boolean isUser);
+
+ /**
+ * 删除用户授权信息
+ *
+ * @param id 用户授权ID
+ * @return 结果
+ */
+ public int deleteUserAuthById(Long id,boolean isUser);
+
+ List getByIds(List ids,boolean isUser, SFunction... columns);
+
+ UserAuthPlus getById(Long id, SFunction... columns);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+ List countByGroupBy(String select, String where, String groupby, Class tClass);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWalletAddressService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWalletAddressService.java
new file mode 100644
index 0000000..86c7754
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWalletAddressService.java
@@ -0,0 +1,89 @@
+package com.ruoyi.system.service;
+import java.util.Map;
+import java.util.List;
+import com.ruoyi.system.domain.WalletAddress;
+import com.ruoyi.system.domain.WalletAddressPlus;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.ruoyi.common.select.SelectItem;
+/**
+ * token管理Service接口
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public interface IWalletAddressService extends IService
+{
+
+ List select(String keyword,boolean isUser);
+ /**
+ * 查询token管理
+ *
+ * @param id token管理ID
+ * @return token管理
+ */
+ public WalletAddress selectWalletAddressById(Long id,boolean isUser);
+
+ /**
+ * 查询token管理列表
+ *
+ * @param walletAddress token管理
+ * @return token管理集合
+ */
+ public List selectWalletAddressList(WalletAddress walletAddress,boolean isUser);
+
+ /**
+ * 新增token管理
+ *
+ * @param walletAddress token管理
+ * @return 结果
+ */
+ public int insertWalletAddress(WalletAddress walletAddress,boolean isUser);
+
+ /**
+ * 修改token管理
+ *
+ * @param walletAddress token管理
+ * @return 结果
+ */
+ public int updateWalletAddress(WalletAddress walletAddress,boolean isUser);
+
+ /**
+ * 批量删除token管理
+ *
+ * @param ids 需要删除的token管理ID
+ * @return 结果
+ */
+ public int deleteWalletAddressByIds(Long[] ids,boolean isUser);
+
+ /**
+ * 删除token管理信息
+ *
+ * @param id token管理ID
+ * @return 结果
+ */
+ public int deleteWalletAddressById(Long id,boolean isUser);
+
+ List getByIds(List ids,boolean isUser, SFunction... columns);
+
+ WalletAddressPlus getById(Long id, SFunction... columns);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+ List countByGroupBy(String select, String where, String groupby, Class tClass);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWeb3WalletService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWeb3WalletService.java
new file mode 100644
index 0000000..509cf51
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWeb3WalletService.java
@@ -0,0 +1,88 @@
+package com.ruoyi.system.service;
+import java.util.Map;
+import java.util.List;
+import com.ruoyi.system.domain.Web3Wallet;
+import com.ruoyi.system.domain.Web3WalletPlus;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
+import com.ruoyi.common.select.SelectItem;
+/**
+ * 钱包管理Service接口
+ *
+ * @author luqj
+ * @date 2025-11-25
+ */
+public interface IWeb3WalletService extends IService
+{
+
+ /**
+ * 查询钱包管理
+ *
+ * @param id 钱包管理ID
+ * @return 钱包管理
+ */
+ public Web3Wallet selectWeb3WalletById(Long id,boolean isUser);
+
+ /**
+ * 查询钱包管理列表
+ *
+ * @param web3Wallet 钱包管理
+ * @return 钱包管理集合
+ */
+ public List selectWeb3WalletList(Web3Wallet web3Wallet,boolean isUser);
+
+ /**
+ * 新增钱包管理
+ *
+ * @param web3Wallet 钱包管理
+ * @return 结果
+ */
+ public int insertWeb3Wallet(Web3Wallet web3Wallet,boolean isUser);
+
+ /**
+ * 修改钱包管理
+ *
+ * @param web3Wallet 钱包管理
+ * @return 结果
+ */
+ public int updateWeb3Wallet(Web3Wallet web3Wallet,boolean isUser);
+
+ /**
+ * 批量删除钱包管理
+ *
+ * @param ids 需要删除的钱包管理ID
+ * @return 结果
+ */
+ public int deleteWeb3WalletByIds(Long[] ids,boolean isUser);
+
+ /**
+ * 删除钱包管理信息
+ *
+ * @param id 钱包管理ID
+ * @return 结果
+ */
+ public int deleteWeb3WalletById(Long id,boolean isUser);
+
+ List getByIds(List ids,boolean isUser, SFunction... columns);
+
+ Web3WalletPlus getById(Long id, SFunction... columns);
+
+ Map getMapByIds(List ids, SFunction... columns);
+
+ List getByIds(List ids);
+
+ Map getMapByIds(List ids);
+
+ /**
+ * @param field sum 字段
+ * @param where 条件
+ * @param tClass 返回类型
+ * @param
+ * @return
+ */
+ T sum(String field, String where, Class tClass);
+
+ Long count(String where);
+
+