正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
@@ -47,6 +47,8 @@ class OrderController extends WeChatBaseController | @@ -47,6 +47,8 @@ class OrderController extends WeChatBaseController | ||
47 | if(empty($vo['indent_address'])){ | 47 | if(empty($vo['indent_address'])){ |
48 | unset($data[$key]); | 48 | unset($data[$key]); |
49 | } | 49 | } |
50 | + }else{ | ||
51 | + unset($data[$key]); | ||
50 | } | 52 | } |
51 | } | 53 | } |
52 | } | 54 | } |
@@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController | @@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController | ||
204 | */ | 204 | */ |
205 | public function checkWeChatUserLogin() | 205 | public function checkWeChatUserLogin() |
206 | { | 206 | { |
207 | - /*$user = Db::name('user')->where('id',7)->find(); | ||
208 | - cmf_update_current_user($user);*/ | 207 | +// $user = Db::name('user')->where('id',2)->find(); |
208 | +// cmf_update_current_user($user); | ||
209 | $userId = cmf_get_current_user_id(); | 209 | $userId = cmf_get_current_user_id(); |
210 | if (empty($userId)) { | 210 | if (empty($userId)) { |
211 | $config = [ | 211 | $config = [ |
-
请 注册 或 登录 后发表评论