Commit 3a18b162 authored by liujiangnan's avatar liujiangnan

debug

parent 474c16b2
......@@ -88,9 +88,11 @@ cc.Class({
this.uid = res.uid;
// 测试数据
// this.role = 'anchor';
// this.uid = 'teacher';
this.role = 'anchor';
this.uid = 'teacher';
// this.role = 'audience';
// this.uid = 'student'
const nickObj = await drawOpenNickName(res.nickName);
await asyncCallNetworkApiPost('/api/douyin/v1/create', {roomid: this.roomId, uid: this.uid, nickname: JSON.stringify(nickObj), role: this.role});
......
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