new offer expire
This commit is contained in:
@@ -166,7 +166,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
|
||||
out["total_record"] = "0";
|
||||
const PGresult *res;
|
||||
res = pgsql_query("SELECT status,member_id, id AS offer_id, uid,offer_code FROM members_jobs_offer "
|
||||
" WHERE expire< now() "
|
||||
" WHERE expire < ( now() - interval '120 minutes' ) "
|
||||
" AND status = 1 "
|
||||
" AND refund_auto IS NULL "
|
||||
" AND payment_id IS NOT NULL "
|
||||
|
||||
Reference in New Issue
Block a user