|
@@ -201,6 +201,12 @@ class Chabao extends Api
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ if(empty($user)&&!empty($ret_data)){
|
|
|
|
|
+ foreach ($ret_data as &$item) {
|
|
|
|
|
+ $item['gift_record_type'] = 2;
|
|
|
|
|
+ $item['reason'] = '手机号未注册';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
try {
|
|
try {
|
|
|
$order_model->saveAll($add_data);
|
|
$order_model->saveAll($add_data);
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|