...
|
...
|
@@ -91,10 +91,10 @@ export default class wheelSurf extends PureComponent { |
|
|
}
|
|
|
};
|
|
|
|
|
|
let updateCount = async (user) => {
|
|
|
let updateCount = async (user) => {
|
|
|
let result = await api.conf({
|
|
|
uid: user.uid,
|
|
|
act_id: this.state.query.actId
|
|
|
act_id: this.state.query.actId.replace(/ /g, '+')
|
|
|
});
|
|
|
|
|
|
if (result && result.code === 200) {
|
...
|
...
|
@@ -127,7 +127,7 @@ export default class wheelSurf extends PureComponent { |
|
|
}
|
|
|
}
|
|
|
|
|
|
let params = {act_id: this.state.query.actId};
|
|
|
let params = {act_id: this.state.query.actId.replace(/ /g, '+')};
|
|
|
|
|
|
if (uid) {
|
|
|
params.uid = uid;
|
...
|
...
|
@@ -207,7 +207,7 @@ export default class wheelSurf extends PureComponent { |
|
|
|
|
|
try {
|
|
|
result = await api.start({
|
|
|
act_id: this.state.query.actId,
|
|
|
act_id: this.state.query.actId.replace(/ /g, '+'),
|
|
|
uid: this.state.user.uid,
|
|
|
sessionKey: this.state.user.sessionKey,
|
|
|
sessionType: this.state.user.sessionType,
|
...
|
...
|
|