1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wangzhiqiang
- * Date: 2019/4/24
- * Time: 9:36
- */
- namespace App\Http\Controllers;
- use App\Traits\CommunityTrait;
- class ConfigController extends Controller
- {
- use CommunityTrait;
- /**
- * Create a new controller instance.
- *
- * @return void
- */
- 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(),
- 'find_friend_img' => config('customer.find_friend_img'),
- ];
- return $this->jsonSuccess($data, '成功');
- }
- }
|