后台交易规则添加

This commit is contained in:
Jerry Yan 2020-08-16 15:33:22 +08:00
parent cfacbe3954
commit da8b0d7268

View File

@ -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{