12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace App\Http\Controllers;
- use App\Traits\CommunityTrait;
- class ConfigController extends Controller
- {
- use CommunityTrait;
-
- public function __construct()
- {
-
- }
- public function index()
- {
- $data = [
-
- 'order_expired_time' => config('customer.order_expired_time'),
- 'virus_url' => config('customer.VIRUS_URL'),
- 'virus_app_id' => config('customer.VIRUS_APP_ID'),
- 'virus_app_secret' => config('customer.VIRUS_APP_SECRET'),
- 'virus' => $this->getAllBehavior(),
- ];
- return $this->jsonSuccess($data, '成功');
- }
- }
|