Files
lgp-admin-plus-api/app/Http/Controllers/Wx/AfterSaleController.php

31 lines
632 B
PHP
Raw Normal View History

2026-08-20 19:16:49 +08:00
<?php
namespace App\Http\Controllers\Wx;
use App\BaseApp\BaseController;
use App\Service\wx\WxAfterSaleService;
use Illuminate\Http\JsonResponse;
/**
* 小程序售后
*/
class AfterSaleController extends BaseController
{
protected array $exceptRoute = ['option', 'detail', 'update', 'delete'];
public function __construct()
{
parent::__construct();
$this->service = WxAfterSaleService::getInstance();
}
/**
* 申请售后
* @Method POST
*/
public function create(): JsonResponse
{
return jok($this->service->create(request()->post()), '已提交');
}
}