|
@@ -79,12 +79,14 @@ class Vip extends Core
|
|
|
|
|
|
}
|
|
|
|
|
|
- if ($type == 'wechat') {
|
|
|
- $wechat = Dever::db('passport/wechat')->one(array('uid' => $this->data['uid'], 'type' => 1, 'system_id' => $this->data['system']));
|
|
|
- } elseif ($type != 'alipay') {
|
|
|
- Dever::alert('请传入正确的信息');
|
|
|
+ if ($method != 'apple') {
|
|
|
+ if ($type == 'wechat') {
|
|
|
+ $wechat = Dever::db('passport/wechat')->one(array('uid' => $this->data['uid'], 'type' => 1, 'system_id' => $this->data['system']));
|
|
|
+ } elseif ($type != 'alipay') {
|
|
|
+ Dever::alert('请传入正确的信息');
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$order_id = $this->createOrder();
|
|
|
|
|
|
$order_data['cate_id'] = $cate['id'];
|