Commit 93b8cf68 authored by hujun's avatar hujun

盘方名

parent 84b65352
......@@ -87,6 +87,7 @@ class GHouses extends BaseModel
foreach ($data as $k=>$v) {
$result[$k] = $v->toArray();
$dish_name = '';
$result[$k]['dish_name'] = '';
foreach ($house_agents as $k2 => $v2) {
if ($v->id == $v2['houses_id']) {
if ($v2['type'] == 2) {
......@@ -144,6 +145,7 @@ class GHouses extends BaseModel
foreach ($data as $k=>$v) {
$result[$k] = $v->toArray();
$dish_name = '';
$result[$k]['dish_name'] = '';
foreach ($house_agents as $k2 => $v2) {
if ($v->id == $v2['houses_id']) {
if ($v2['type'] == 2) {
......
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 to comment