Open unissoft-bj opened 9 years ago
only for apk built for Android.
post http://localhost:8080/reception
json payload: {"phone":"5016548878", "mac": "88-36-AA-FF-FF-BB"}
return: http 201 { id: 11 agent_id: "4028a7814cc82897014cc832ba120000" agent_phone: "" agent_mac: "" person_cnt: 0 gender: "MALE" customer_name: "" phone: "" location: "" transport: "" intention: "" visit_index: 1 refer_source: "" car_usage: "PRIVATE" car_style: "" car_model: "" car_color: "" buy_level: "A" description: "" result: "" comparison: "" memo: "" status: "NEW" sibling_id: 0 start_t: 1431532883487 end_t: null modify_t: null }
开始录音时,android app向ihost 发送手机号(手机号在app的设置界面中输入) ihost接收到request后:
android app不需要login,也不需要接收reception id
结束录音时,app端停止录音,超过20s,ihost端会自动结束此次录音过程;是否还需要app端发送一个request给ihost?