支付提交

This commit is contained in:
wong
2025-09-23 16:43:18 +08:00
parent a8a9cf76df
commit 7ed368a137
7 changed files with 778 additions and 4 deletions

View File

@@ -9,7 +9,6 @@ Route::group('v1/auth', function () {
Route::post('login', 'app\common\controller\PasswordLoginController@index'); // 账号密码登录
Route::post('mobile-login', 'app\common\controller\Auth@mobileLogin'); // 手机号验证码登录
Route::post('code', 'app\common\controller\Auth@SendCodeController'); // 发送验证码
// 需要JWT认证的接口
Route::get('info', 'app\common\controller\Auth@info')->middleware(['jwt']); // 获取用户信息
Route::post('refresh', 'app\common\controller\Auth@refresh')->middleware(['jwt']); // 刷新令牌
@@ -22,4 +21,13 @@ Route::group('v1/', function () {
})->middleware(['jwt']);
Route::get('app/update', 'app\common\controller\Api@uploadApp');
Route::group('v1/pay', function () {
Route::post('', 'app\cunkebao\controller\Pay@createOrder')->middleware(['jwt']);
Route::post('notify', 'app\common\controller\Attachment@notify');
})->middleware(['jwt']);
Route::get('app/update', 'app\common\controller\PaymentService@createOrder');