This commit is contained in:
chengxl
2025-07-25 17:42:50 +08:00
3 changed files with 529 additions and 433 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -266,6 +266,7 @@ class Order extends base{
}
private function creatPaystation($article_id){
$article_info = $this->article_obj->where("article_id",$article_id)->find();
$journal_info = $this->journal_obj->where("journal_id",$article_info['journal_id'])->find();
@@ -276,7 +277,7 @@ class Order extends base{
'gateway_id' => "PAYSTATION",//GATEWAY_ID,
"merchant_session" => $ca_sn,
"merchant_reference"=>$ca_sn,
"amount" =>(int)((((int)$journal_info['fee'])*726/416)*100),
"amount" =>(int)(prin($journal_info['fee'])*100),//(int)((((int)$journal_info['fee'])*726/416)*100),
"return_url"=>"https://submission.tmrjournals.com/success?id=".$article_info['article_id'],
"response_url"=>"http://api.tmrjournals.com/public/index.php/api/Order/completePaystation"
];

View File

@@ -2607,7 +2607,7 @@ class Reviewer extends Base
//发送email->编辑
$tt = 'Dear editor,<br>';
$tt .= 'Please check the new comments from the reviewer.<br>';
$tt .= 'Please check the new comments from the reviewer.sn:'.$article_info['accept_sn'].'<br>';
$tt .= 'Journal:' . $journal_info['title'] . ' and article title:' . $article_info['title'];
$sendEditor = [