yanghb
2023-04-26 6b05015600caeed64bc37bb3908926bc8aecdb84
UserTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/PhoneController.java
@@ -1,5 +1,6 @@
package com.stylefeng.guns.modular.api;
import com.alibaba.fastjson.JSON;
import com.stylefeng.guns.modular.system.model.Phone;
import com.stylefeng.guns.modular.system.service.IPhoneService;
import com.stylefeng.guns.modular.system.util.ResultUtil;
@@ -40,6 +41,7 @@
    public ResultUtil queryPhones(String code){
        try {
            List<Phone> phones = phoneService.queryPhones(code);
            System.out.println(JSON.toJSONString(phones));
            return ResultUtil.success(phones);
        }catch (Exception e){
            e.printStackTrace();
@@ -63,6 +65,7 @@
    public ResultUtil queryCustomerPhone(String code){
        try {
            Map<String, Object> map = phoneService.queryCustomerPhone(code);
            System.out.println(JSON.toJSONString(map));
            return ResultUtil.success(map);
        }catch (Exception e){
            e.printStackTrace();