|
|
|
@ -981,7 +981,12 @@ class Index extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
$opi_email = !empty($advisor_info->OPI_Email) ? $advisor_info->OPI_Email : ''; //lussie@chinahighlights.net
|
|
|
|
|
$opi_firstname = !empty($advisor_info->OPI_FirstName) ? $advisor_info->OPI_FirstName : !empty($advisor_info->OPI_Name) ? $advisor_info->OPI_Name : ''; //lussie
|
|
|
|
|
|
|
|
|
|
if ($opi_email===''
|
|
|
|
|
&& in_array(strtoupper($advisor_info->COLI_WebCode), array('CHTAPP-JA', 'JP'))
|
|
|
|
|
) {
|
|
|
|
|
$opi_email = 'contact@arachina.com';
|
|
|
|
|
$opi_firstname = 'contact@arachina.com';
|
|
|
|
|
}
|
|
|
|
|
//没有外联信息表示订单未分配
|
|
|
|
|
if (empty($opi_email) || empty($opi_firstname)) {
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'sendfail', $item->pn_sn);
|
|
|
|
|