首先在訂單列表中可以獲得到處理訂單的php文件為flow.php,之后在最后一步url地址顯示為
/flow.php?step=done
從flow.php文件中找到$_REQUEST['step'] == 'done' 在其中大約1733行有
/* 虛擬卡發貨 */
if (virtual_goods_ship($virtual_goods,$msg, $order['order_sn'], true))
這個函數virtual_goods_ship($virtual_goods,$msg, $order['order_sn'], true) 是處理虛擬商品發貨的,追蹤到這個函數中
在第二個foreach循環里有個(1024行)
if (virtual_card_shipping($goods, $order_sn, $msg, $process))
virtual_card_shipping($goods, $order_sn, $msg, $process) 這個函數追蹤進去以后大約在1153行有發送郵件的send_mail()函數
virtual_goods_ship()
virtual_card_shipping()
這兩個函數都在lib_common.php里面
新聞熱點
疑難解答