You've already forked qlg.tsgz.moe
							
							TradeRule后台完成
This commit is contained in:
		| @@ -80,7 +80,7 @@ class TradeRule extends Base | ||||
|         WSTUnset($data,'id,dataFlag,isShow,create_time'); | ||||
|         Db::startTrans(); | ||||
|         try{ | ||||
|             $result = $this->validate('TradeRule.edit')->allowField(true)->save($data,['articleId'=>$articleId]); | ||||
|             $result = $this->validate('TradeRule.edit')->allowField(true)->save($data,['id'=>$id]); | ||||
|             if(false !== $result){ | ||||
|                 WSTClearAllCache(); | ||||
|                 Db::commit(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user