Browse Source

优化企业新增新字段

master
wanghongjun 2 years ago
parent
commit
55e2f66234
  1. 5
      addons/weliam_smartcity/api/Store.php

5
addons/weliam_smartcity/api/Store.php

@ -304,6 +304,9 @@ class StoreModuleUniapp extends Uniapp
'recruit_long_img_src'=> $recruit_long_img_src,// 企业长图
'recruit_long_img' => $recruit_long_img
];
$MerchantDataEnt = MerchantDataEnt::getStoreEntData($id);
$data['store']['business'] = $MerchantDataEnt['business'] ? htmlspecialchars_decode($MerchantDataEnt['business']) : '';
$data['store']['advantage'] = $MerchantDataEnt['advantage'] ? htmlspecialchars_decode($MerchantDataEnt['advantage']) : '';
$data['reject'] = $user['reject'] ?: '';# 驳回原因
if(!empty($store['deliverytype'])){
$data['store']['deliverytype'] = unserialize($store['deliverytype']);
@ -646,7 +649,7 @@ class StoreModuleUniapp extends Uniapp
$storethumb = explode(',' , $storethumb);
foreach ($storethumb as $key => $th) {
$th = tomedia($th);
$data['introduction'] .= '<img src= "' . $th . '" />';
//$data['introduction'] .= '<img src= "' . $th . '" />';
}
}
if (!empty($data['introduction'])) {

Loading…
Cancel
Save