提交其他文件

This commit is contained in:
2026-03-11 18:24:59 +08:00
parent 4b490670f1
commit f0d7f60fd5
1377 changed files with 73456 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?php
namespace app\common\model\order;
use app\common\model\BaseModel;
class OrderStore extends BaseModel
{
/**
* @notes 记录总订单
* @author 胥聪
* @date 2025/12/20 9:53
*/
public static function orderAll($table,$type,$order_sn,$store_id,$amount_price,$userId){
//$type 0为茶艺师 1为茶室支付 2购买套餐 3购买会员 4充值 5团购退款
return OrderAll::create([
'user_id'=>$userId,
'sn'=>createSn("order_all","sn"),
'type'=>$type,
'table'=>$table,
'source_sn'=>$order_sn,
'store_id'=>$store_id,
'real_price'=>$amount_price,
'dtime'=>date("Y-m-d H:i:s")
]);
}
}