Commit 46ac5269 authored by liujiangnan's avatar liujiangnan

feat: 修改上报

parent e5a6c2cf
......@@ -72,7 +72,7 @@ export default class NewClass extends middleLayerBase {
exitGame(data = null) {
cc.game.removePersistRootNode(this.node);
if (this.token) {
if (this.token && data) {
this.callNetworkApiPost(`api/dige/v1/user/report`, {
token: this.token,
syllabus_id: this.courseItem.course_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment