WebSettingCountryController.php 650 字节
<?php

namespace App\Http\Controllers\Bside\Setting;

use App\Enums\Common\Code;
use App\Http\Controllers\Bside\BaseController;
use App\Http\Logic\Bside\Setting\WebSettingCountryLogic;
use App\Models\Project\Country as CountryModel;

/**
 * @name:多语言国家配置列
 */
class WebSettingCountryController extends BaseController
{
    /**
     * @name   :列表lists
     * @author :lyh
     * @method :post
     * @time   :2023/4/28 14:40
     */
    public function lists(WebSettingCountryLogic $webSettingCountryLogic){
        $lists = $webSettingCountryLogic->country_list();
        $this->response('success',Code::SUCCESS,$lists);
    }
}