function act_addInStatusIds() { //global $memc_obj; //调用memcache获取sku信息 $outid = $_POST['outid']; $idArr = $_POST['idArr']; $uid = $_SESSION['sysUserId']; $data = array(); $data['visible_movefolder'] = $this->act_getAllInStatusIds(); //var_dump($data); $data['visible_movefolder'][$outid] = $idArr; $data['visible_movefolder'] = json_encode($data['visible_movefolder'], JSON_UNESCAPED_UNICODE); //var_dump($data); $rtn = OmAccountModel::addUserCompense($uid, $data); $visible_movefolder = omAccountModel::idTransferName($data['visible_movefolder']); //调用老系统接口,同步老系统文件夹 $rtnInfo = OldsystemModel::erpSyncMovefolders($visible_movefolder, $_SESSION['userCnName']); if ($rtnInfo['res_code'] == 200) { self::$errCode = OmAccountModel::$errCode; self::$errMsg = OmAccountModel::$errMsg; return $rtn; } else { self::$errCode = $rtnInfo['res_code']; self::$errMsg = '同步老系统文件夹移动权限失败'; return false; } }