SMS: 模板修改(增加订单号);国家区号仅数字

feature/trippest
lyt 7 years ago
parent 9a3ac72ca1
commit 410cd13137

@ -18,8 +18,6 @@ class Api extends CI_Controller {
public function index()
{
// echo "string";
// return;
$this->operation_detail();
}

@ -50,6 +50,11 @@ class Send_operation extends CI_Controller {
* * 这里只是Day Tour 订单, 不含单接送, 因此每个订单仅发送一次
* @date 2018-09-25
*/
/*!
* 模板内容
* 2018-10-22
* 【桂林海纳国旅】Hi {1}, your guide on {2} is {3}, localmobile is {4}. He/she'll call you at the hotel, or leave a message tonight. You can find more info by inputting booking No. {5} at https://www.trippest.com/track-your-trip. Wish you a wonderful day with Trippest!
*/
public function daytour($COLI_ID="")
{
$now_h = date("H");
@ -93,8 +98,9 @@ class Send_operation extends CI_Controller {
,"two" => substr($order->COLD_StartDate, 0, 10)
,"three" => $guide_name
,"four" => "+86 " . $guide_tel
,"phone" => real_phone_number($order->GUT_TEL, $order->GUT_POST)
,"nation_code" => $order->GUT_POST
,"five" => $order->COLI_ID
,"phone" => real_phone_number($order->GUT_TEL, mb_ereg_replace('[\D]', '', $order->GUT_POST))
,"nation_code" => mb_ereg_replace('[\D]', '', $order->GUT_POST)
);
$cb_db = array(
"TPSL_COLI_SN" => $order->COLI_SN

Loading…
Cancel
Save