|
|
@@ -39,8 +39,11 @@ class Demo extends Api
|
|
|
})
|
|
|
*/
|
|
|
public function test()
|
|
|
- {
|
|
|
- $this->success('返回成功', $this->request->param());
|
|
|
+ {
|
|
|
+ $data = $this->request->param();
|
|
|
+ db('test1')->insert(['vax'=>json_encode($data)]);
|
|
|
+
|
|
|
+ $this->success('返回成功', );
|
|
|
}
|
|
|
|
|
|
/**
|