多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` $params = [ 'uid' => 100,// 用户id 'packid' => 1,//课程包id 'courseid' => 1,//课时id ]; app('rpc.record')->call('practice.user.ai.record',[$params]); ``` ~~~[api] post:practice.user.ai.record uid=0#用户id packid=0#课程包id courseid=0#课时id <<< Array ( [result] => Array ( [data] => Array ( [0] => Array ( [id] => 7, [uid] => 27,//用户id [packid] => 25,//课程包id [courseid] => '',//课时id [vtime] => '',//视频播放进度 [stotal] => '',//试题总数 [sqnums] => '',//学习答题总数 [srnums] => '',//学习答对题总数 [sqtime] => '',//学习答题时长 [mistaken] => '',//改错题总数量 [scredit] => '',//学习获得小红花 [hvtime] => '',//隐藏关卡实习进度时长 [hstate] => '',//隐藏关卡状态 [hcredit] => '',//隐藏关卡获得小红花 [bcredit] => '',//宝箱获得小红花 [bpropid] => '',//宝箱获得道具id [ustate] => '',//状态 0未完成 1课中完成 2练一练完成 [wpic] => '',//精彩截图,多个,隔开 [hdata] => '',//隐藏关卡答题数据 [sdata] => '',//学习答题数据 [classmates] => '',//同学 [redpoint] => '',//红包领取打点记录 [inctime] => '',//视频观看累加时间 [stime] => '',//进入课程时间 [etime] => '',//完成课程时间 [ctime] => 0, [utime] => 0 ) ) ) ) <<< error Array ( [error] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~