yanghb
2023-04-25 a3354815749e0909cac374c8ba033f7d2f002312
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();