Commit 21b688b0 by 杨树贤

修改状态

parent 5c5eb12f
Showing with 4 additions and 1 deletions
...@@ -84,5 +84,8 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -84,5 +84,8 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
(new \App\Http\Services\SyncSupplierService())->syncSupplierToErp(2335); \App\Model\SupplierChannelModel::where('supplier_id', 8214)->update([
'status' => 2,
'update_time' => time(),
]);
}); });
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