支付bug

This commit is contained in:
wangjinlei
2025-11-27 10:03:35 +08:00
parent b8dc9ded3a
commit 3c7e25ec65
2 changed files with 0 additions and 58 deletions

View File

@@ -769,46 +769,6 @@ class Preaccept extends Base
$re['article'] = $article_info;
$re['journal'] = $journal_info;
return jsonSuccess($re);
// if(intval($journal_info['fee'])==0||$article_info['ctime']<1735660800){//非收费期刊的文章直接返回
// $re['state'] = 1;
// $re['order'] = null;
// $re["fee"] = 0;
// return jsonSuccess($re);
// }
//
// if($order_info==null){//这里有疑问
// $re['state'] = 1;
// $re['order'] = null;
// $re["fee"] = 0;
// return jsonSuccess($re);
// }
//// if($order_info['pay_type']==2){
// $paystation = $this->paystation_obj->where("ps_id",$order_info['ps_id'])->find();
// $order_info['paystation'] = $paystation;
// if($order_info['state']==0){
// $res = object_to_array(json_decode(paystationLookup($paystation['transaction_id'])));
// if(isset($res['result']['success'])&&$res['result']['success']){
// $this->article_obj->where("article_id",$order_info['article_id'])->update(['is_buy'=>1]);
// $this->order_obj->where("order_id",$order_info['order_id'])->update(['state'=>1]);
// $re['state'] = 1;
// $re['fee'] = $journal_info['fee'];
// $re['order'] = $order_info;
// return jsonSuccess($re);
// }else{
// $re['state'] = 0;
// $re['fee'] = $journal_info['fee'];
// $re['order'] = $order_info;
// return jsonSuccess($re);
// }
// }else{
// $re['state'] = 1;
// $re['fee'] = $journal_info['fee'];
// $re['order'] = $order_info;
// return jsonSuccess($re);
// }
// }
}