Commit 1769b01c by zhangleyuan

feat:bug定位

parent 9833ddb1
...@@ -28,20 +28,20 @@ class WorkWxAuthorize extends React.Component { ...@@ -28,20 +28,20 @@ class WorkWxAuthorize extends React.Component {
code, code,
ticket, ticket,
storeId storeId
}, (res) => { }).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.setState({
scanState:'success'
})
} else {
let message = res.message.split(',').join('<br />')
this.setState({ this.setState({
scanState:'error', scanState:'success'
messageText:message
}) })
} } else {
let message = res.message.split(',').join('<br />')
this.setState({
scanState:'error',
messageText:message
})
}
}) })
}
workWechatAuthorize = () => { workWechatAuthorize = () => {
const params = {} const params = {}
Service.hades('anon/hades/getCorpTrainSuiteId',params).then((res)=>{ Service.hades('anon/hades/getCorpTrainSuiteId',params).then((res)=>{
......
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