好像没改什么

This commit is contained in:
sugar1569 2019-02-14 11:18:12 +08:00
parent 150dae32b3
commit 7d97c1489b

View File

@ -311,6 +311,7 @@ class Store extends AuthController
'site'=>SystemConfigService::more(['wechat_qrcode','wechat_name','wechat_avatar']), 'site'=>SystemConfigService::more(['wechat_qrcode','wechat_name','wechat_avatar']),
'isFollow'=>$isFollow 'isFollow'=>$isFollow
]); ]);
// var_dump(SystemConfigService::more(['wechat_qrcode','wechat_name','wechat_avatar']));die;
return $this->fetch(); return $this->fetch();
} }
@ -329,7 +330,7 @@ class Store extends AuthController
//砍价产品 //砍价产品
$bargain = StoreBargain::getBargainTerm($id); $bargain = StoreBargain::getBargainTerm($id);
$bargain['time'] = time(); $bargain['time'] = time();
$description = htmlspecialchars_decode($bargain['description']); $description = isset($bargain['description'])?htmlspecialchars_decode($bargain['description']):'';
$rule = isset($bargain['rule']) ? htmlspecialchars_decode($bargain['rule']) : ''; $rule = isset($bargain['rule']) ? htmlspecialchars_decode($bargain['rule']) : '';
if(!$bargainUid) if(!$bargainUid)
//判断当前登录人是不是砍价 //判断当前登录人是不是砍价