Commit 0b811c38 by 杨树贤

优化查询

parent c54e082c
...@@ -51,8 +51,10 @@ class ChainService ...@@ -51,8 +51,10 @@ class ChainService
} }
//修改供应商入驻数据的方法,广播结果的时候,也要广播给供应商入驻的数据 //修改供应商入驻数据的方法,广播结果的时候,也要广播给供应商入驻的数据
public function changeChainIsEntity($supplierName,$isEntity) public function changeChainIsEntity($supplierName, $isEntity)
{ {
ChainModel::where('com_name', $supplierName)->update([
'is_entity' => $isEntity,
]);
} }
} }
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