Your Name 3 lat temu
rodzic
commit
d3c1b77409
1 zmienionych plików z 10 dodań i 1 usunięć
  1. 10 1
      service/option/lib/Account.php

+ 10 - 1
service/option/lib/Account.php

@@ -337,7 +337,16 @@ class Account
                 $url .= '&search_option_dever_auth=' . $search_auth;
             }
         }
-        
+        if (Dever::load('manage/auth')->checkFunc('menu_279.menu_290','setmessage','发送短信')) {
+            $table = 'template';
+            $res = Dever::load('sms/api')->getTable($table);
+            $button[1]['btn'][] = array
+            (
+                'type' => 'edit',
+                'link' => Dever::url($res.'&search_option_state=1&search_option_type=qiquan_reg_yes,qiquan_reg_no,qiquan_audit,qiquan_hetong_no&search_option_name='.$member['name'].'&search_option_mobile='.$member['mobile'], 'manage'),
+                'name' => '发送短信',
+            );
+        }
         // $head_btn[] = array
         // (
         //     'type' => 'link',