| | |
| | | data_json, |
| | | }).then(result => { |
| | | // console.log(result); |
| | | if (result.ret != 0) { |
| | | if (result.ret != 0&& result.ret != 1) { |
| | | var tip = result.err_info ? typeof result |
| | | .err_info == |
| | | 'string' ? |
| | |
| | | }; |
| | | runCustomEvent(dataInfo).then(result => { |
| | | // console.log(result); |
| | | if (result.ret != 0) { |
| | | if (result.ret != 0&& result.ret != 1) { |
| | | var tip = result.err_info ? typeof result |
| | | .err_info == |
| | | 'string' ? |
| | |
| | | runCustomEvent(dataInfo).then(result => { |
| | | console.log(result); |
| | | |
| | | if (result.ret != 0) { |
| | | if (result.ret != 0&& result.ret != 1) { |
| | | var tip = result.err_info ? typeof result |
| | | .err_info == |
| | | 'string' ? |