Commit ff950e89 by mushishixian

修复

parent 1495c88d
......@@ -148,7 +148,7 @@ class DataService
public function replaceStandardBrandId()
{
$supplierModel = new SupplierChannelModel();
$suppliers = $supplierModel->where('main_brands', '!=', '')->limit(20)->get()->toArray();
$suppliers = $supplierModel->where('main_brands', '!=', '')->get()->toArray();
$redis = new RedisModel();
foreach ($suppliers as $supplier) {
$mainBrands = explode(',', $supplier['main_brands']);
......
......@@ -44,7 +44,7 @@ Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () {
});
Route::match(['get', 'post'], '/test', function () {
$service = new \App\Http\Services\DataService();
$service->initSystemTag();
// $service->initSystemTag();
// $service->transferFileData();
// $service->changeSupplierIsTypeByCheckChannelUidOrPurchaseUid();
// $service->replaceStandardBrandId();
......
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