This commit is contained in:
wangjinlei
2022-10-26 17:54:51 +08:00
parent 3ef453e917
commit cf6b6004ba
4 changed files with 158 additions and 1 deletions

View File

@@ -127,6 +127,12 @@ function get_str(){
}
function proofState($article_id){
$p_article_obj = Db::name('production_article');
$p_article_obj->where('article_id',$article_id)->where('state','<>',1)->where('proof_etime','<',time())->where('proof_state',1)->update(['proof_state'=>2]);
}
/**
* 生成文章sn号
* @return type