...
|
...
|
@@ -14,6 +14,14 @@ use cmf\controller\HomeBaseController; |
|
|
class EagageController extends HomeBaseController
|
|
|
{
|
|
|
public function engagePost(){
|
|
|
dump(input());
|
|
|
$data=input();
|
|
|
$result=db('engage')->insert($data);
|
|
|
if ($result==1){
|
|
|
$this->success('');
|
|
|
}else{
|
|
|
$this->error('');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|