提交 455363bd 编写于 作者: T Terry

代码小调

上级 b69317df
...@@ -54,7 +54,7 @@ class Coupon extends Service ...@@ -54,7 +54,7 @@ class Coupon extends Service
if ($one[$primaryKey]) { if ($one[$primaryKey]) {
return $one; return $one;
} else { } else {
return new $this->_couponModel; return new $this->_couponModelName;
} }
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册