ExtendLogic.php
807 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* @remark :
* @name :ExtendLogic.php
* @author :lyh
* @method :post
* @time :2023/11/9 14:24
*/
namespace App\Http\Logic\Bside\Product;
use App\Helper\Translate;
use App\Http\Logic\Bside\BaseLogic;
use App\Models\Product\Extend;
class ExtendLogic extends BaseLogic
{
public function __construct()
{
parent::__construct();
$this->param = $this->requestAll;
$this->model = new Extend();
}
/**
* @remark :保存数据
* @name :extendSave
* @author :lyh
* @method :post
* @time :2023/11/9 14:29
*/
public function extendSave(){
$this->param['key'] = Translate::tran($this->param['title'], 'en');
if(isset($this->param['id']) && !empty($this->param['id'])){
}else{
}
}
}