ShuanghongS há 3 meses atrás
pai
commit
4d2708935f
2 ficheiros alterados com 11 adições e 9 exclusões
  1. 10 8
      main_new_version.php
  2. 1 1
      service/login.class.php

+ 10 - 8
main_new_version.php

@@ -99,15 +99,17 @@ switch ($action) {
                         }
                         //特殊处理book,需要加二级菜
                         if($v['s_column'] =="Ocean Booking"){
-                            $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
-                            $children  = array(); 
-
                             $urlData = $menuSetting[$v['s_column']];
-                            $children[] = array("index"=>$index.'-1',"label"=>$urlData['label'],"path"=>$urlData['path']);
-                            $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
-                            $bookingManagement["children"] = $children;
-                            $menuList[] = $bookingManagement;
-                            $index = $index + 1;
+                            $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
+                            // $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
+                            // $children  = array(); 
+
+                            // $urlData = $menuSetting[$v['s_column']];
+                            // $children[] = array("index"=>$index.'-1',"label"=>$urlData['label'],"path"=>$urlData['path']);
+                            // $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
+                            // $bookingManagement["children"] = $children;
+                            // $menuList[] = $bookingManagement;
+                            // $index = $index + 1;
                         }
                     }
                 }

+ 1 - 1
service/login.class.php

@@ -144,7 +144,7 @@ class login {
                     //如是是token登录,则不用验证密码
                     if(isset($_POST['token']) && !empty($_POST['token'])){
                         $is_verify = $_POST['token'];
-                        $AES_encrypted = utils::AES_encrypted($is_verify,true,"USAIandy20244Q9X","0123456123456789");
+                        $AES_encrypted = utils::AES_encrypted($is_verify,true,"fT5!R1k$7Mv@4Q9X","1234567890123456");
                         $secret_key = common::excuteOneSql("select secret_key from customer_service_secret_key 
                             where secret_key = '$is_verify' 
                             and create_time >= current_date - INTERVAL '3 months' limit 1");