Browse Source

验证码接口路由

master
453530270@qq.com 2 years ago
parent
commit
7b7b1e33af
  1. 1
      routes/cwp_api.php
  2. 1
      routes/cwp_appapi.php
  3. 1
      routes/yx_api.php
  4. 1
      routes/yx_appapi.php

1
routes/cwp_api.php

@ -12,6 +12,7 @@ $api->group(['namespace' => 'V1','middleware'=>'auth.api'], function ($api) {
$api->post('user/recharge','UserWalletController@recharge');//用户充币
$api->post('user/rechargeDispose','UserWalletController@recharge_dispose');//用户处理
$api->post('user/depositHistory','UserWalletController@deposit_history');//用户充币记录
$api->get('user/wdcode','UserWalletController@wdcode');//提币验证码
$api->post('user/withdraw','UserWalletController@withdraw')->middleware(['checkTopAuth']);//用户提币
$api->post('user/withdrawDispose','UserWalletController@withdraw_dispose');//用户提币处理
$api->post('user/withdrawalRecord','UserWalletController@withdrawal_record');//用户提币记录

1
routes/cwp_appapi.php

@ -12,6 +12,7 @@ $api->group(['namespace' => 'V1','middleware'=>'auth.api'], function ($api) {
$api->post('user/recharge','UserWalletController@recharge');//用户充币
$api->post('user/rechargeDispose','UserWalletController@recharge_dispose');//用户处理
$api->post('user/depositHistory','UserWalletController@deposit_history');//用户充币记录
$api->get('user/wdcode','UserWalletController@wdcode');//提币验证码
$api->post('user/withdraw','UserWalletController@withdraw')->middleware(['checkTopAuth']);//用户提币
$api->post('user/withdrawDispose','UserWalletController@withdraw_dispose');//用户提币处理
$api->post('user/withdrawalRecord','UserWalletController@withdrawal_record');//用户提币记录

1
routes/yx_api.php

@ -17,6 +17,7 @@ $api->group(['namespace' => 'V1'], function ($api) {
$api->post('register/sendSmsCode','LoginController@sendSmsCode');//注册发送短信验证码
$api->post('login/sendSmsCodeBeforeLogin','LoginController@sendSmsCodeBeforeLogin');//登陆发送短信验证码
$api->post('register/sendEmailCode','LoginController@sendEmailCode');//注册发送邮箱验证码
$api->get('register/Graph_che','LoginController@Graph_che');//图形验证码
$api->post('login/sendEmailCodeBeforeLogin','LoginController@sendEmailCodeBeforeLogin');//登陆发送邮箱验证码
$api->post('user/register','LoginController@register');//注册
$api->post('user/login','LoginController@login');//登录

1
routes/yx_appapi.php

@ -12,6 +12,7 @@ $api->group(['namespace' => 'V1'], function ($api) {
$api->post('register/sendSmsCode', 'LoginController@sendSmsCode'); //注册发送短信验证码
$api->post('login/sendSmsCodeBeforeLogin', 'LoginController@sendSmsCodeBeforeLogin'); //登陆发送短信验证码
$api->post('register/sendEmailCode', 'LoginController@sendEmailCode'); //注册发送邮箱验证码
$api->get('register/Graph_che', 'LoginController@Graph_che'); //图形验证码
$api->post('login/sendEmailCodeBeforeLogin', 'LoginController@sendEmailCodeBeforeLogin'); //登陆发送邮箱验证码
$api->post('user/register', 'LoginController@register'); //注册
$api->post('user/login', 'LoginController@login'); //登录

Loading…
Cancel
Save