1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user