...
|
...
|
@@ -6,6 +6,7 @@ |
|
|
|
|
|
namespace api\server;
|
|
|
|
|
|
use app\api\model\Cm0s40active0bao;
|
|
|
use app\api\model\User;
|
|
|
use EasyWeChat\Factory;
|
|
|
use think\Model;
|
...
|
...
|
@@ -57,4 +58,19 @@ class Tixian extends Model |
|
|
]);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* title 记录分佣
|
|
|
* @var $type 订单类型:1=团购,2=限时活动
|
|
|
* @var $id 订单id
|
|
|
* @var $order 订单号
|
|
|
* @var $admin 管理员id
|
|
|
*/
|
|
|
public function fanxian($type, $id, $admin, $order=null){
|
|
|
if ($type == 2){
|
|
|
$active = new Cm0s40active0bao();
|
|
|
$info = $active->where('id', $id)->find();
|
|
|
}
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|