|
@@ -315,6 +315,7 @@ class Api extends Start_Controller {
|
|
|
}
|
|
|
foreach ($shop as $value)
|
|
|
{
|
|
|
+ $value['tbtime'] = 0;
|
|
|
if((time()-$value['tbtime']) < 600)
|
|
|
{
|
|
|
$tb = 1;//正在同步中
|
|
@@ -646,6 +647,7 @@ class Api extends Start_Controller {
|
|
|
$hbw[$k] = implode("-",$w);
|
|
|
}
|
|
|
}
|
|
|
+ $post['insurance'] = 1;
|
|
|
$post['fpdata'] = implode(";",$hbf).';';
|
|
|
$post['whlabel'] = '|'.implode("|",$hbw).'|';
|
|
|
//非占单设置为禁止占单结束
|
|
@@ -2690,8 +2692,19 @@ class Api extends Start_Controller {
|
|
|
public function _update17ds(){
|
|
|
$list = $this->awlgx->find_all("time > 1757897489 and exstate = 6 and type = 'fullorder'");
|
|
|
$numbers = array_column($list,'number');
|
|
|
+ $tmp_list = [];
|
|
|
+ foreach($numbers as $number){
|
|
|
+ $info = $this->fullorder->get_number($number);
|
|
|
+
|
|
|
+ $cksj = 1757292689;
|
|
|
+
|
|
|
+ if($info['librarytime'] > $cksj && $info['exstate'] < 6) {
|
|
|
+ $tmp_list[] = $number;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
echo "<pre>";
|
|
|
- print_r($numbers);
|
|
|
+ print_r($tmp_list);
|
|
|
die;
|
|
|
//$order_info =
|
|
|
|