内外团归属BUG修复

master
zhengchanglong 5 years ago
parent b4e949ee47
commit e6f3329ac8

@ -415,7 +415,7 @@ class PromoteModel extends Model{
foreach ($result as $key => $value) { foreach ($result as $key => $value) {
$parseData[$key] = $value; $parseData[$key] = $value;
$parseData[$key]['company_belong_str'] = $value['company_belong'] ? '外团' : '内团'; $parseData[$key]['company_belong_str'] = $value['company_belong'] ? '外团' : '内团';
$parseData[$key]['company_relation_str'] = $value['company_belong'] ? '只维护' : '自主开发及维护'; $parseData[$key]['company_relation_str'] = $value['company_relation'] ? '只维护' : '自主开发及维护';
} }
return $parseData; return $parseData;
} }

Loading…
Cancel
Save