充值认领
This commit is contained in:
24
app/order/model/UserChargeOrder.php
Normal file
24
app/order/model/UserChargeOrder.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/*
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-10-14 20:25:53
|
||||
* @LastEditors: kangkang
|
||||
* @LastEditTime: 2020-10-14 20:26:11
|
||||
*/
|
||||
|
||||
|
||||
namespace app\order\model;
|
||||
|
||||
use fastphp\base\Model;
|
||||
|
||||
class UserChargeOrder extends Model
|
||||
{
|
||||
protected $table = 'user_charge_order';
|
||||
|
||||
public function updateTake($where = [],$where2='', $data = [])
|
||||
{
|
||||
return $this->where($where)->where($where2)->update($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user