sAuth() && $permission->infoConfig['auth_platform'] ) { $auth_switch['formType'] = 'radio'; $auth_switch['name'] = 'member_switch'; $auth_switch['value'] = $config ? $config[ $auth_switch['name'] ] : 0; $auth_switch['title'] = $permission->info['title']; return [ $auth_switch ]; } } /** * 监听用户中心模块 * * @return array * @author shuixian * @DataTime: 2019/12/18 14:04 */ // public function onAddUcenterCompoent(){ // $last_staff_id = '#last_staff_id#' ; // // $moduleMenuShop = <<_uniacid); // $compoentList = [] ; // if( $this->_uniacid == 0 || $permission->pAuth()){ // $compoentList = [ // json_decode($moduleMenuShop, true) // ] ; // } // // // // return $compoentList ; // } /** * @param $item * @功能说明:监听支付菜单数据获取 * @author jingshuixian * @DataTime: 2020/1/7 17:02 */ // public function onDiyModuleMenuPayqr($item){ // $last_staff_id = UserService::getLastStaffId($this->_uniacid,$this->getUserId()) ; // // // $list = [ // [ // "title" =>"去付款", // "icon" => "iconwodedingdan1", // "link"=> [ // "type"=> 2, // "url"=> "/pay/pages/home?staff_id=".$last_staff_id // ] // ] // ] ; // $item['data']['list'] = $list ; // return $item; // // } }