SkuUploadLogApiController.php
769 Bytes
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Services\AdminUserService;
use App\Http\Services\SkuUploadLogService;
use App\Http\Transformers\LogTransformer;
use App\Model\LogModel;
use Illuminate\Http\Request;
class SkuUploadLogApiController extends Controller
{
public function Entrance(Request $request, $id)
{
$this->$id($request, $id);
}
//获取供应商信息变更记录
public function GetSkuUploadLogList($request)
{
$data = $request->only([
'supplier_id',
'limit',
'page'
]);
$list = (new SkuUploadLogService())->getSkuUploadLogList($data);
$this->response(0, 'ok', $list['data'], $list['total']);
}
}