Change-Id: I6f8b5b00ee7d6c2391ea7e436f76508c35b5419d
This commit is contained in:
vguanyiwgd 2024-04-09 16:34:30 +08:00
parent 1b09bcbf64
commit bbf8c797b0
1 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ case "sync": //接收客户端传送过来的数据:
$datas = json_decode($datas,true);
if(count($datas) < 1) {
echoRs(1,"ok");
echoRs(1,"ok");
exit;
}
@ -129,7 +129,7 @@ case "info":
}
$data = $ids = $channels = array();
//查询饭堂
$rs = $db->get_all("select * from tb_dining_hall where enabled = 1 ".$where);
if(empty($rs)){
@ -376,10 +376,10 @@ case "icgetcode":
echo json_encode($res);
exit;
// echoRs(1, 'ok', array('data' => $info));
//列出订单详情
break;
case "facegetcode":
$facecard = trim($_POST['facecard']);
@ -509,7 +509,7 @@ break;
echoRs(0, '该饭堂不存在', array());
exit;
}
$company_id = $company['id'];
$company_id = $company['company_id'];
// $new_date = date('Y-m-d H:i:s');
// $new_time = date('H:i:s');
@ -807,4 +807,4 @@ function get_today_dates($dining_hall_id)
return $data;
}
?>
?>