添加显示隐藏商户的开关

main
fengxinyhyl 6 months ago
parent ddef341e7e
commit 6bcef2c5c5
  1. 4
      app/controller/api/Auth.php
  2. 4
      route/api.php

@ -89,6 +89,10 @@ class Auth extends BaseController
return app('json')->success(); return app('json')->success();
} }
public function showMerchant(){
return app('json')->success(array('show' => 0));
}
/** /**
* @param UserRepository $repository * @param UserRepository $repository
* @return mixed * @return mixed

@ -29,9 +29,11 @@ Route::group('api/', function () {
Route::get('lottery/data', 'api.Auth/lotteryData'); Route::get('lottery/data', 'api.Auth/lotteryData');
Route::get('deposit/data', 'api.Auth/depositData'); Route::get('deposit/data', 'api.Auth/depositData');
// 展示商户
Route::get('show/merchant', 'api.Auth/showMerchant');
//强制登录 //强制登录

Loading…
Cancel
Save