AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
>[warning] 使用前必须引入**Organization**模型 use app\common\model\sys\Organization as OrgModel; #### bindusertoremote()-同步用户到远端 >[info] bindusertoremote($userdata,$needToSync=true){} ### 参数 * userdata:用户参数 * username:用户账号 * departmentId:用户部门 * needToSync:是否需要同步 * true:需要 * false:不需要 >[success]返回值 ### error ```php array( 'code' => 0, 'msg' => '提示信息' ) ``` ### success ```php array( 'code' => 1, 'msg' => 'success' ) ```