diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index fe33c0cf9..887d3f4f3 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -64,7 +64,7 @@ class MemberController extends ThinkController if (isset($_REQUEST['user_id'])) { empty($hav) || $hav .= ' AND '; - $hav .= "tab_user.id = {$_REQUEST['user_id']}"; + $hav .= "tab_user.id = '{$_REQUEST['user_id']}'"; $maps['tab_user.id'] = $_REQUEST['user_id']; unset($_REQUEST['user_id']); } diff --git a/Application/Admin/Controller/SdkMenuController.class.php b/Application/Admin/Controller/SdkMenuController.class.php index 4ac800245..faefbfea9 100644 --- a/Application/Admin/Controller/SdkMenuController.class.php +++ b/Application/Admin/Controller/SdkMenuController.class.php @@ -57,6 +57,8 @@ class SdkMenuController extends ThinkController{ if(IS_POST) { $post = I('post.'); + $cover = $_REQUEST['icon']; + $post['cover'] = $cover; $post['id'] = $id; array_push($config,$post); $sdkMenus['config'] = json_encode($config); @@ -98,10 +100,14 @@ class SdkMenuController extends ThinkController{ { if($key == 'icon') { - $config[$k][$key] = strstr($val,'/Upload'); + $picRes = M('picture')->where(['id'=>intval($val)])->find(); + $path = $picRes['path']; + $config[$k][$key] = $path; + $config[$k]['cover'] = $val; }else { $config[$k][$key] = $val; + $config[$k]['cover'] = ''; } } break; @@ -125,9 +131,11 @@ class SdkMenuController extends ThinkController{ { $this->error('菜单不存在','lists'); } + $img[0] = $data['cover']; $this->meta_title = '悬浮球菜单'; $this->assign('type','edit'); $this->assign('data',$data); + $this->assign('img',$img); $this->assign('menu_name',$menu_name); $this->assign('but_type',$this->but_type); $this->assign('menu_version',$this->menu_version); diff --git a/Application/Admin/View/SdkMenu/add.html b/Application/Admin/View/SdkMenu/add.html index 6e1f166ee..efe1b1c63 100644 --- a/Application/Admin/View/SdkMenu/add.html +++ b/Application/Admin/View/SdkMenu/add.html @@ -1,8 +1,10 @@ + - + +
- + +
+
+ + +
+
+ + +
+
+ +
+ +
+ +
+ +
+
+
+ +
+ +
+ + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
订单号收款方帐号适用游戏目标帐号类型转账数量交易说明交易时间交易状态操作

暂无数据

{$vo.sn}{$vo.target_account}{$vo.game_name}{$vo.target_type_text}{$vo.num}{$vo.description}{$vo.create_time}{$vo.status_text}查看详情
+ +
+ + 导出 + + {$pagination} +
+
+ + + +
+ + + + + + \ No newline at end of file diff --git a/Application/Home/View/default/Public/promote_base.html b/Application/Home/View/default/Public/promote_base.html index 97d8cf52b..3a6e743f6 100644 --- a/Application/Home/View/default/Public/promote_base.html +++ b/Application/Home/View/default/Public/promote_base.html @@ -119,7 +119,7 @@