Commit c39eda75 by 杨树贤

修复数据

parent 806ad790
Showing with 7 additions and 1 deletions
...@@ -84,9 +84,15 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -84,9 +84,15 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
\App\Model\SupplierChannelModel::where('supplier_id', 8214)->update([ \App\Model\SupplierChannelModel::where('supplier_id', 129)->update([
'is_entity' => -1, 'is_entity' => -1,
'status' => 2, 'status' => 2,
'update_time' => time(), 'update_time' => time(),
]); ]);
\App\Model\SupplierChannelModel::where('supplier_id', 8214)->update([
'is_entity' => 1,
'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