|
@@ -21,7 +21,7 @@ class Payment extends BaseController
|
|
// 正常:valid
|
|
// 正常:valid
|
|
// 已作废:invalidated
|
|
// 已作废:invalidated
|
|
// 已红冲:reversed
|
|
// 已红冲:reversed
|
|
- protected $invStatus=["valid"=>'正常',"invalidated"=>'已作废',"reversed"=>'已红冲'];
|
|
|
|
|
|
+ protected $invStatus=[0=>"待验证","1"=>'正常',"2"=>'已作废',"3"=>'已红冲'];
|
|
public function __construct(App $app) {
|
|
public function __construct(App $app) {
|
|
parent::__construct($app);
|
|
parent::__construct($app);
|
|
$invoice =Config::get("invoiceType");
|
|
$invoice =Config::get("invoiceType");
|
|
@@ -1481,7 +1481,8 @@ class Payment extends BaseController
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * @return \think\response\Json|void
|
|
|
|
|
|
+ * @return \think\
|
|
|
|
+ * response\Json|void
|
|
*/
|
|
*/
|
|
public function ticketInfo(){
|
|
public function ticketInfo(){
|
|
$num =isset($this->post['number'])&&$this->post['number']!=''?trim($this->post['number']):"";
|
|
$num =isset($this->post['number'])&&$this->post['number']!=''?trim($this->post['number']):"";
|