user.php 992 B

12345678910111213141516171819202122
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'user'],function (){
  4. Route::match(['get','post'],'cs', 'UserController@index')->name('user.index');
  5. Route::match(['get','post'],'wx_info', 'UserController@getWxInfo')->name('user.wx_info');//获取用户信息
  6. Route::match(['get','post'],'video', 'UserController@getVideo')->name('user.video');//获取视频信息
  7. Route::match(['get','post'],'record', 'UserController@setRecord')->name('user.record');//上报浏览数据
  8. Route::match(['get','post'],'send', 'UserController@sendSms')->name('user.send');//发送短信
  9. Route::match(['get','post'],'apply', 'UserController@setApply')->name('user.apply');//申请成为推广人
  10. Route::match(['get','post'],'sign_up', 'UserController@setSignUp')->name('user.sign_up');//报名
  11. Route::match(['get','post'],'js_key', 'UserController@getJsConfig')->name('user.js_key');//获取微信JS签名信息
  12. });