正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
@@ -252,6 +252,7 @@ class Dispatch extends Backend | @@ -252,6 +252,7 @@ class Dispatch extends Backend | ||
252 | $order_review_id = $order_review['id']; | 252 | $order_review_id = $order_review['id']; |
253 | } | 253 | } |
254 | $params["order_review_id"]=$order_review_id; | 254 | $params["order_review_id"]=$order_review_id; |
255 | + print_r($params);return; | ||
255 | $result = $row->allowField(true)->save($params); | 256 | $result = $row->allowField(true)->save($params); |
256 | Db::commit(); | 257 | Db::commit(); |
257 | } catch (ValidateException|PDOException|Exception $e) { | 258 | } catch (ValidateException|PDOException|Exception $e) { |
@@ -259,7 +259,7 @@ class Order extends Backend | @@ -259,7 +259,7 @@ class Order extends Backend | ||
259 | } | 259 | } |
260 | $params["order_review_id"]=$order_review_id; | 260 | $params["order_review_id"]=$order_review_id; |
261 | } | 261 | } |
262 | - print_r($params);return; | 262 | + |
263 | $result = $row->allowField(true)->save($params); | 263 | $result = $row->allowField(true)->save($params); |
264 | Db::commit(); | 264 | Db::commit(); |
265 | } catch (ValidateException|PDOException|Exception $e) { | 265 | } catch (ValidateException|PDOException|Exception $e) { |
-
请 注册 或 登录 后发表评论