model提交

This commit is contained in:
2025-03-28 09:30:26 +08:00
parent 9c648eaffc
commit 2e34590a6a
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,8 @@ use think\Model;
class FlowPackageModel extends Model
{
protected $table = 'flow_package';
// 定义字段自动转换
protected $type = [
// 将特权字段从多行文本转换为数组

View File

@@ -7,7 +7,7 @@ use think\Model;
class UserFlowPackageModel extends Model
{
protected $table = 'user_flow_package';
/**
* 获取用户当前有效的流量套餐
*