初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\model\app\agent;
|
||||
|
||||
use think\Model;
|
||||
use think\Db;
|
||||
|
||||
/**
|
||||
* 分佣
|
||||
*/
|
||||
class Commission extends Model
|
||||
{
|
||||
|
||||
public function handle($order)
|
||||
{
|
||||
//计算佣金
|
||||
|
||||
|
||||
|
||||
$orderItemList = (new Item())->getItemList($order->order_no);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user