This commit is contained in:
wangjinlei
2023-07-14 15:41:27 +08:00
parent 87464357c2
commit 3f289cebec
7 changed files with 100 additions and 13 deletions

View File

@@ -95,9 +95,9 @@ class Web extends Base
}
$article_info = $this->article_obj->where('article_id',$p_info['article_id'])->find();
//只显示2023年5。1之后的文章流程
if($article_info['rtime']<1682870400){
return jsonError("time error");
}
// if($article_info['rtime']<1682870400){
// return jsonError("time error");
// }
$msgs = $this->article_msg_obj->where('article_id',$article_info['article_id'])->select();
@@ -143,6 +143,18 @@ class Web extends Base
];
}
//没有接收。添加
//如果没有proof增加
if($p_info['proof_stime']>0){
$frag[] = [
"type"=>7,
"time"=>$p_info['proof_stime']
];
}
//没有online添加
//冒泡排序法
for ($i = 0; $i < count($frag) -1; $i++) {//循环对比的轮数
for ($j = 0; $j < count($frag) - $i - 1; $j++) {//当前轮相邻元素循环对比