Browse Source

增加折扣信息获取接口

alexzy 3 years ago
parent
commit
6d1331b3b1
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/PromoteDiscountService.php

+ 15 - 0
src/PromoteDiscountService.php

@@ -0,0 +1,15 @@
+<?php
+
+namespace Yxy\Service;
+
+interface PromoteDiscountService
+{
+    /**
+     * 根据渠道ID和游戏ID获取基础折扣以及加点折扣信息
+     * @param int $promote_id
+     * @param int $game_id
+     * @return array
+     */
+    public function discountInfo(int $promote_id, int $game_id): array;
+
+}