You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
904 B
59 lines
904 B
<?php
|
|
namespace app\recording\controller;
|
|
use app\AdminRest;
|
|
use app\ApiRest;
|
|
use app\massage\model\ActionLog;
|
|
use app\massage\model\Admin;
|
|
use app\massage\model\AdminRole;
|
|
use app\node\model\RoleAdmin;
|
|
use app\node\model\RoleList;
|
|
use app\node\model\RoleNode;
|
|
use think\App;
|
|
|
|
|
|
|
|
class Recording extends ApiRest
|
|
{
|
|
|
|
public function __construct(App $app) {
|
|
|
|
parent::__construct($app);
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* @author chenniang
|
|
* @DataTime: 2022-01-04 14:02
|
|
* @功能说明:上传录音
|
|
*/
|
|
public function recordingAdd(){
|
|
|
|
$input = $this->_input;
|
|
|
|
$insert = [
|
|
|
|
'uniacid' => $this->_uniacid,
|
|
|
|
'order_id' => $input['order_id'],
|
|
|
|
'link' => $input['link'],
|
|
];
|
|
|
|
$model = new \app\recording\model\Recording();
|
|
|
|
$data = $model->dataAdd($insert);
|
|
|
|
return $this->success($data);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|