|
@@ -215,7 +215,11 @@ class Order extends Core
|
|
|
|
|
|
$journal = $this->getJournal();
|
|
|
$buy = $this->getBuy();
|
|
|
- $star = $this->getStar();
|
|
|
+ $star = false;
|
|
|
+ if (Dever::input('star_id')) {
|
|
|
+ $star = $this->getStar();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
$user = Dever::db('passport/user')->one($this->data['uid']);
|
|
|
$wechat = Dever::db('passport/wechat')->one(array('uid' => $this->data['uid'], 'type' => 1, 'system_id' => $journal['cate_id']));
|