From a8f90f717c73d7ff4d2355649f9f161a6f89aa9b Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 05 三月 2024 14:08:15 +0800
Subject: [PATCH] 新增加管理后台功能

---
 cloud-server-other/src/main/java/com/dsh/other/controller/TPhoneController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/TPhoneController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/TPhoneController.java
index e50ec9f..6a0de47 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/TPhoneController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/TPhoneController.java
@@ -29,15 +29,16 @@
 
     @RequestMapping(value = "/base/phone/list")
     @ResponseBody
-    public List<Phone> list(){
+    public List<Phone> list() {
         return phoneService.list(new QueryWrapper<>());
     }
+
     /**
      * 修改客服电话
      */
     @RequestMapping("/update")
     @ResponseBody
-    public Object update(@RequestBody Phone phone){
+    public Object update(@RequestBody Phone phone) {
         String phone1 = phone.getPhone();
         String substring = phone1.substring(0, phone1.length() - 1);
         phone.setPhone(substring);

--
Gitblit v1.7.1