4.3 上线说明

一、
初始化操作（注意前后关系，第1条只执行一次（注意），后面拉了代码也不能执行）
1、/opt/lampp/bin/php artisan db:seed --class=xiaoa43one

2、/opt/lampp/bin/php artisan db:seed --class=xiaoa43


二、
修改配置项/etc/supervisord.conf，添加多个进程（附件中supervisord.conf文件直接覆盖）
重启supervisord


三、

fs配置文件添加子分类的配置（两条），accounts表添加字段存放子分类（运营平台accounts表新建用户增加字段status_sub）,人工介入字段

cdr
<field name="asr_f_sub" chan-var-name="getstatusexsub(uuid, project_sn, question2, question3, question4,asks_count_routine, talktimes,da2_result)"/>
<field name="fs_monitor_agent" chan-var-name="fs_monitor_agent"/>

account
<field name="status_sub" chan-var-name="getstatusexsub(uuid, project_sn, question2, question3, question4,asks_count_routine, talktimes,da2_result)"/>
<field name="fs_monitor_agent" chan-var-name="fs_monitor_agent"/>

数据表temp_accounts增加talk_info字段传输
post_dbs
<field name="talk_info" chan-var-name="question1"/>

<field name="fs_monitor_agent" chan-var-name="fs_monitor_agent"/>

<field name="is_into_blacklist"     chan-var-name="asks_is_into_blacklist_value"/>
<field name="is_into_black_term"          chan-var-name="asks_is_into_black_term"/>

增加配置模块

<post_dbs>

 <post_db name="sendsms" table="temp_accounts">
          <field name="parent_sn"  chan-var-name="parent_sn"/>
          <field name="team_name"  chan-var-name="team_name"/>
          <field name="project_sn" chan-var-name="project_sn"/>
          <field name="phone"      chan-var-name="callee"/>
          <field name="labeling"   chan-var-name="question2"/>
          <field name="score"      chan-var-name="question3"/>
          <field name="ask_count"  chan-var-name="question4"/>
          <field name="name"       chan-var-name="name"/>
          <field name="address"    chan-var-name="address"/>
          <field name="unit"       chan-var-name="unit"/>
          <field name="mark"       chan-var-name="mark"/>
          <field name="data1"      chan-var-name="data1"/>
          <field name="data2"      chan-var-name="data2"/>
          <field name="data3"      chan-var-name="data3"/>
          <field name="data4"      chan-var-name="data4"/>
          <field name="data5"      chan-var-name="data5"/>
          <field name="data6"      chan-var-name="data6"/>
          <field name="data7"      chan-var-name="data7"/>
          <field name="data8"      chan-var-name="data8"/>
          <field name="data9"      chan-var-name="data9"/>
          <field name="data10"     chan-var-name="data10"/>
          <field name="fs_is_seat" chan-var-name="fs_is_seat"/>
          <field name="direction"  chan-var-name="direction"/>
          <field name="account_sn"  chan-var-name="account_sn"/>
          <field name="user_sn"  chan-var-name="user_sn"/>
          <field name="talktimes"  chan-var-name="talktimes"/>
          <field name="asks_count_routine" chan-var-name="asks_count_routine"/>
          <field name="uuid" chan-var-name="uuid"/>
          <field name="all_asr_result"     chan-var-name="all_asr_result"/>
          <field name="all_asr_result1"     chan-var-name="all_asr_result1"/>
          <field name="recognition_count"  chan-var-name="recognition_count"/>
          <field name="uuid"               chan-var-name="uuid"/>
          <field name="project_name"       chan-var-name="project_name"/>
          <field name="user_name"          chan-var-name="user_name"/>
          <field name="user_sn"            chan-var-name="user_sn"/>
          <field name="callee"             chan-var-name="callee"/>
          <field name="caller"             chan-var-name="account_phone"/>
          <field name="dynamic_labelling"  chan-var-name="dynamic_labelling"/>
          <field name="source"        chan-var-name="source"/>
          <field name="connected_at"  chan-var-name="nowtime"/>
          <field name="da2_result"    chan-var-name="da2_result"/>
          <field name="qc_status"     chan-var-name="qc_status"/>
          <field name="area_code"          chan-var-name="area_code"/>
          <field name="is_into_blacklist"     chan-var-name="asks_is_into_blacklist_value"/>
         <field name="is_into_black_term"          chan-var-name="asks_is_into_black_term"/>
         <field name="talk_info" chan-var-name="question1"/>
        <field name="fs_monitor_agent" chan-var-name="fs_monitor_agent"/>
  </post_db>


</post_dbs>

删除配置模块（如下）
<urls>
 <url name="sendsms" ref="http://120.78.227.216:81/sms/SendReminderSms">
          <field name="parent_sn"  chan-var-name="parent_sn"/>
          <field name="team_name"  chan-var-name="team_name"/>
          <field name="project_sn" chan-var-name="project_sn"/>
          <field name="phone"      chan-var-name="callee"/>
          <field name="labeling"   chan-var-name="question2"/>
          <field name="score"      chan-var-name="question3"/>
          <field name="ask_count"  chan-var-name="question4"/>
          <field name="name"       chan-var-name="name"/>
          <field name="address"    chan-var-name="address"/>
          <field name="unit"       chan-var-name="unit"/>
          <field name="mark"       chan-var-name="mark"/>
          <field name="data1"      chan-var-name="data1"/>
          <field name="data2"      chan-var-name="data2"/>
          <field name="data3"      chan-var-name="data3"/>
          <field name="data4"      chan-var-name="data4"/>
          <field name="data5"      chan-var-name="data5"/>
          <field name="data6"      chan-var-name="data6"/>
          <field name="data7"      chan-var-name="data7"/>
          <field name="data8"      chan-var-name="data8"/>
          <field name="data9"      chan-var-name="data9"/>
          <field name="data10"     chan-var-name="data10"/>
          <field name="fs_is_seat" chan-var-name="fs_is_seat"/>
          <field name="direction"  chan-var-name="direction"/>
          <field name="account_sn"  chan-var-name="account_sn"/>
          <field name="user_sn"  chan-var-name="user_sn"/>
          <field name="talktimes"  chan-var-name="talktimes"/>
          <field name="asks_count_routine" chan-var-name="asks_count_routine"/>
          <field name="uuid" chan-var-name="uuid"/>
          <field name="all_asr_result"     chan-var-name="all_asr_result"/>
          <field name="all_asr_result1"     chan-var-name="all_asr_result1"/>
          <field name="recognition_count"  chan-var-name="recognition_count"/>
          <field name="uuid"               chan-var-name="uuid"/>
          <field name="project_name"       chan-var-name="project_name"/>
          <field name="user_name"          chan-var-name="user_name"/>
          <field name="user_sn"            chan-var-name="user_sn"/>
          <field name="callee"             chan-var-name="callee"/>
          <field name="caller"             chan-var-name="account_phone"/>
          <field name="dynamic_labelling"  chan-var-name="dynamic_labelling"/>
          <field name="source"        chan-var-name="source"/>
          <field name="connected_at"  chan-var-name="nowtime"/>
          <field name="da2_result"    chan-var-name="da2_result"/>
          <field name="qc_status"     chan-var-name="qc_status"/>
<field name="area_code"          chan-var-name="area_code"/>
  </url>

</urls>


四、.env文件
	添加配置项一（示例）（依次注释为  //服务器ip  //端口号 // 域名   //协议 http 或者https）

HTTP_SERVER=120.78.227.216
HTTP_PORT=443
HTTP_DOMAIN=test216.ciopaas.com
HTTP_AGREEMENT=https

	添加配置项二（全部一样）

DB_CONNECTION=industrysmysql
DB_HOST_industrys=rm-wz9gn84y2865go42gpo.mysql.rds.aliyuncs.com
DB_PORT_industrys=3306
DB_DATABASE_industrys=xiaoa_public
DB_USERNAME_industrys=xiaoa
DB_PASSWORD_industrys=2@2cGdXC4


DB_CONNECTION=yhai
DB_HOST_yhai=120.78.9.94
DB_PORT_yhai=3306
DB_DATABASE_yhai=yhai
DB_USERNAME_yhai=yunying
DB_PASSWORD_yhai=yunying




