del print
This commit is contained in:
@@ -44,17 +44,12 @@ try {
|
||||
// 如果是数字。则打印订单
|
||||
$is_log = false;
|
||||
$curl_error = '';
|
||||
print_r($data . "\r\n");
|
||||
$order_id_t = strpos($data, '_');
|
||||
print_r($order_id_t . "嘿嘿\r\n");
|
||||
if($order_id_t !== false) {
|
||||
print_r($order_id_t . "\r\n");
|
||||
$order_id = substr($data, 0, $order_id_t);
|
||||
}else {
|
||||
print_r( "无下划线\r\n");
|
||||
$order_id = $data;
|
||||
}
|
||||
print_r($order_id . "\r\n");
|
||||
$order = Db::table('tb_order_info')->where(['id' => $order_id])->find();
|
||||
if($order) {
|
||||
$rand = 'cashier_order' . Random::build();
|
||||
@@ -85,7 +80,7 @@ try {
|
||||
Base::setredis_new($result_n, $snd_data['send_id']);
|
||||
}else {
|
||||
$params_arr_n[] = $snd_data;
|
||||
print_r('数组-------->' . json_encode($params_arr_n)) . "\r\n";
|
||||
// print_r('数组-------->' . json_encode($params_arr_n)) . "\r\n";
|
||||
Base::setredis_new(json_encode($params_arr_n), $snd_data['send_id']);
|
||||
}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user