diff --git a/hyhproject/admin/model/TradeRule.php b/hyhproject/admin/model/TradeRule.php index 1bca90c..69745a2 100644 --- a/hyhproject/admin/model/TradeRule.php +++ b/hyhproject/admin/model/TradeRule.php @@ -48,6 +48,7 @@ class TradeRule extends Base public function add(){ $data = input('post.'); WSTUnset($data,'id,dataFlag,isShow'); + $data['content'] = htmlspecialchars_decode($data['content']); $data['create_time'] = date('Y-m-d H:i:s'); Db::startTrans(); try{