dever 5 years ago
parent
commit
124c5f9ef8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Set.php

+ 2 - 2
lib/Set.php

@@ -18,7 +18,7 @@ class Set
 	}
 
 	# 带有安全验证的接口 需要传入dever_token,可以参考下边的test_order例子
-    public function updateStatus_secure_api()
+    public function updateStatus_api()
     {
     	$send = Dever::preInput('pay_');
         $tk_pic = $send['pay_tk_pic'];
@@ -35,7 +35,7 @@ class Set
             $method = '\\Pay\\Lib\\' . ucwords($pay['type']);
             $method = new $method($pay);
             $method->refund($order_id);
-            
+
         	$update['where_id'] = $order['id'];
         	$update['status'] = $status;
         	$update['tk_pic'] = $tk_pic;