Commit 09e53d47 by 杨树贤

设置名称

parent 376cb771
Showing with 3 additions and 5 deletions
......@@ -63,9 +63,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
$departmentId = request()->input('department_id');
if (empty($departmentId)) {
return '部门id不能为空';
}
\App\Http\Services\DataService::exportSupplierByDepartment($departmentId);
\App\Model\SupplierChannelModel::where('supplier_code', 'L0014818')->update([
'supplier_name' => 'HANG LUNG WAI YIP TECHNOLOGY CO., LIMITED',
]);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment