信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,32 @@
<?php
class agentClassAction extends apiAction
{
/**
* 手机app读取应用
*/
public function dataAction()
{
$agentarr = m('reim')->getappagent($this->adminid);
$arr['agentjson'] = json_encode($agentarr['rows']);
$this->showreturn($arr);
}
/**
* app上读取数组的
*/
public function dataappAction()
{
$agentarr = m('reim')->getappagent($this->adminid);
$arr['agentarr'] = $agentarr;
$this->showreturn($arr);
}
public function getoptnumAction()
{
$num = $this->post('num');
$mid = (int)$this->post('mid');
$arr = m('flow')->opt('getoptmenu', $num, $mid);
$this->showreturn($arr);
}
}