|
@@ -94,7 +94,7 @@ export default class wheelSurf extends PureComponent { |
|
@@ -94,7 +94,7 @@ export default class wheelSurf extends PureComponent { |
94
|
let updateCount = async (user) => {
|
94
|
let updateCount = async (user) => {
|
95
|
let result = await api.conf({
|
95
|
let result = await api.conf({
|
96
|
uid: user.uid,
|
96
|
uid: user.uid,
|
97
|
- act_id: this.state.query.actId
|
97
|
+ act_id: this.state.query.actId.replace(/ /g, '+')
|
98
|
});
|
98
|
});
|
99
|
|
99
|
|
100
|
if (result && result.code === 200) {
|
100
|
if (result && result.code === 200) {
|
|
@@ -127,7 +127,7 @@ export default class wheelSurf extends PureComponent { |
|
@@ -127,7 +127,7 @@ export default class wheelSurf extends PureComponent { |
127
|
}
|
127
|
}
|
128
|
}
|
128
|
}
|
129
|
|
129
|
|
130
|
- let params = {act_id: this.state.query.actId};
|
130
|
+ let params = {act_id: this.state.query.actId.replace(/ /g, '+')};
|
131
|
|
131
|
|
132
|
if (uid) {
|
132
|
if (uid) {
|
133
|
params.uid = uid;
|
133
|
params.uid = uid;
|
|
@@ -207,7 +207,7 @@ export default class wheelSurf extends PureComponent { |
|
@@ -207,7 +207,7 @@ export default class wheelSurf extends PureComponent { |
207
|
|
207
|
|
208
|
try {
|
208
|
try {
|
209
|
result = await api.start({
|
209
|
result = await api.start({
|
210
|
- act_id: this.state.query.actId,
|
210
|
+ act_id: this.state.query.actId.replace(/ /g, '+'),
|
211
|
uid: this.state.user.uid,
|
211
|
uid: this.state.user.uid,
|
212
|
sessionKey: this.state.user.sessionKey,
|
212
|
sessionKey: this.state.user.sessionKey,
|
213
|
sessionType: this.state.user.sessionType,
|
213
|
sessionType: this.state.user.sessionType,
|