config.php 425 B

1234567891011
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. Route::group(['domain' => env('APP_HOST'), 'prefix' => 'adminApi/config'],function (){
  4. Route::match(['get','post'],'info', 'ConfigController@setConfig')->name('adminApi.config.info');//获取&更新基础配置信息
  5. Route::match(['get','post'],'set_sms', 'ConfigController@setSmsPhone')->name('adminApi.config.set_sms');//获取&更新留言短信通知手机号
  6. });