feat: 开放API产品相关

This commit is contained in:
2025-05-20 14:41:30 +08:00
parent 4828bde695
commit 9ecc9ac957
12 changed files with 447 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare (strict_types = 1);
namespace app\openapi\model;
use app\common\model\LanguageBaseModel;
/**
* 语言模型
* @mixin \think\Model
*/
class LanguageModel extends LanguageBaseModel
{
// 所属code范围查询
public function scopeCode($query, $code)
{
$query->where('code', '=', $code);
}
}