|
@@ -957,6 +957,9 @@ class Payment extends BaseController
|
|
|
$remark = $post['remark']??'';
|
|
|
Db::startTrans();
|
|
|
try {
|
|
|
+ if($payment['invType']==1&&$status==1){
|
|
|
+ $status=2;
|
|
|
+ }
|
|
|
$invup =["status"=>$status,"remark"=>$remark,"updatetime"=>date("Y-m-d H:i:s")];
|
|
|
$inv =Db::name("pay_invoice")->where($payment)->update($invup);
|
|
|
if($inv){
|