@@ -81,7 +81,13 @@ class Demo extends Api
*/
public function test1()
{
- $this->success('返回成功', ['action' => 'test1']);
+ $key = 'lyxhwlkgeapp'.rand(10,99);
+ echo $key; //lyxhwlkgeapp23
+
+ echo '<br>';
+ echo md5($key); //9cdd95acab4efcf503da04353ab4e057
+// $this->success('返回成功', ['action' => 'test1']);
}
/**