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

+ 2 - 2
lib/Set.php

@@ -18,9 +18,9 @@ class Set
 	}
 
 	# 带有安全验证的接口 需要传入dever_token,可以参考下边的test_order例子
-    public function updateStatus_api()
+    public function updateStatus_api($param = array())
     {
-    	$send = Dever::preInput('pay_');
+    	$send = $param ? $param : Dever::preInput('pay_');
         $tk_pic = $send['pay_tk_pic'];
         $tk_time = $send['pay_tk_time'];
         $tk_desc = $send['pay_tk_desc'];