|
|
@ -348,7 +348,7 @@ class AlipayTradeService extends CI_Controller
|
|
|
|
foreach ($data['unsend_list'] as $item) {
|
|
|
|
foreach ($data['unsend_list'] as $item) {
|
|
|
|
|
|
|
|
|
|
|
|
//已经发送的不处理,防止重复发送
|
|
|
|
//已经发送的不处理,防止重复发送
|
|
|
|
if ($item->ALI_sent == 'send') {
|
|
|
|
if ($item->ALI_sent == 'send' && empty($pn_txn_id)) {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -359,8 +359,7 @@ class AlipayTradeService extends CI_Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//只处理完成状态,其他状态由陆燕处理
|
|
|
|
//只处理完成状态,其他状态由陆燕处理
|
|
|
|
if (strcmp(trim($item->ALI_resultMsg), "TRADE_SUCCESS")
|
|
|
|
if (strcmp(trim($item->ALI_resultMsg), "TRADE_SUCCESS")!==0 && strcmp(trim($item->ALI_resultMsg), "TRADE_FINISHED")!==0 ) {
|
|
|
|
|| strcmp(trim($item->ALI_resultMsg), "TRADE_FINISHED")) {
|
|
|
|
|
|
|
|
$this->Alipay_note_model->update_send($item->ALI_dealId, 'send');
|
|
|
|
$this->Alipay_note_model->update_send($item->ALI_dealId, 'send');
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|