react_hsbc_teller 1.2.2 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.2.2",
3
+ "version": "1.2.5",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -2,6 +2,26 @@ import Server from './server';
2
2
 
3
3
  class API extends Server{
4
4
 
5
+ async videoRecordCallback(params = {}){
6
+ // return this.axios('get', '/lang/select/2', params);
7
+ try{
8
+ let result = await this.axios('post', '/hsbc/video/record/callback', params);
9
+ console.log(result)
10
+ if(result && (result.data instanceof Object) && result.code === 200){
11
+ return result||[];
12
+ }else{
13
+ let err = {
14
+ tip: '服务异常',
15
+ response: result,
16
+ data: params,
17
+ // url: 'https://api.cangdu.org/shopro/data/products',
18
+ }
19
+ throw err;
20
+ }
21
+ }catch(err){
22
+ throw err;
23
+ }
24
+ }
5
25
  async retrieveCustomerInfoByActivityId(params = {}){
6
26
  // return this.axios('get', '/lang/select/2', params);
7
27
  try{
Binary file
@@ -69,7 +69,7 @@ export default class foot extends Component {
69
69
  {
70
70
  isWhiteboard&&<div className='footHover' onClick={this.switchExternal.bind(this)}>
71
71
  <div className="one">
72
- <img className="imgClass" src={require("../../assets/img/Projection_screen.png").default} alt="" />
72
+ <img className="imgClass" src={require("../../assets/img/switchExternal.png").default} alt="" />
73
73
  <div className="text">
74
74
  白板
75
75
  </div>