新增获取医生我的账户数据接口

This commit is contained in:
2023-02-22 18:16:22 +08:00
parent 2f76b0f877
commit c1320cb71e
9 changed files with 355 additions and 18 deletions
+2 -3
View File
@@ -11,10 +11,9 @@ use Hyperf\Snowflake\Concern\Snowflake;
/**
* @property int $account_id 账户id
* @property int $doctor_id 医生id
* @property string $total_amount 总金额(已完成订单的总金额)
* @property string $total_amount 总金额(已结束订单的总金额)
* @property string $balance_account 账户余额
* @property string $withdrawal_amount 已提现金额
* @property string $undrawn_amount 未提现金额
* @property string $income_tax 所得税金额
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
@@ -31,7 +30,7 @@ class DoctorAccount extends Model
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['account_id', 'doctor_id', 'total_amount', 'balance_account', 'withdrawal_amount', 'undrawn_amount', 'income_tax', 'created_at', 'updated_at'];
protected array $fillable = ['account_id', 'doctor_id', 'total_amount', 'balance_account', 'withdrawal_amount', 'income_tax', 'created_at', 'updated_at'];
/**
* The attributes that should be cast to native types.