Authored by 李奇

actId不强制数字

... ... @@ -94,7 +94,7 @@ export default class wheelSurf extends PureComponent {
let updateCount = async (user) => {
let result = await api.conf({
uid: user.uid,
act_id: +this.state.query.actId
act_id: this.state.query.actId
});
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};
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,
uid: this.state.user.uid,
sessionKey: this.state.user.sessionKey,
sessionType: this.state.user.sessionType,
... ...
... ... @@ -56,7 +56,7 @@ export default class Prize extends PureComponent {
let {uid} = user;
let result = await api.prize({
act_id: +yaSDK.getQueryObj().actId,
act_id: yaSDK.getQueryObj().actId,
uid: uid || +yaSDK.getQueryObj().uid
});
... ...