getListByRoles($this->userId); HelpHander::success($lists); } public function queryConfig(){ $m = new Config(); $data = [ 'orgPhone'=>$m->getConfig('org_phone',$this->orgId), 'orgScanQrcode'=>(int)$m->getConfig('org_scan_qrcode',$this->orgId), 'orgGrabOrder'=>(int)$m->getConfig('org_grab_order',$this->orgId), 'orgSendOrder0'=>(int)$m->getConfig('org_send_order0',$this->orgId), 'orgSendOrder1'=>(int)$m->getConfig('org_send_order1',$this->orgId), 'orgSendOrder2'=>(int)$m->getConfig('org_send_order2',$this->orgId), 'orgSendOrder3'=>(int)$m->getConfig('org_send_order3',$this->orgId), 'orgSendOrder4'=>(int)$m->getConfig('org_send_order4',$this->orgId), 'orgSign'=>(int)$m->getConfig('org_sign',$this->orgId), "twoDispatchOff"=> two_dispatch_off($this->orgId) ]; HelpHander::success($data); } }