alexzy пре 2 месеци
родитељ
комит
75640e5e5e
1 измењених фајлова са 15 додато и 0 уклоњено
  1. 15 0
      src/promote/PromoteAuthRuleServiceInterface.php

+ 15 - 0
src/promote/PromoteAuthRuleServiceInterface.php

@@ -0,0 +1,15 @@
+<?php
+
+namespace Yxy\Service\promote;
+
+interface PromoteAuthRuleServiceInterface
+{
+    /**
+     * cps渠道权限检测
+     * @param string $name 权限名称
+     * @param int $promote_id 渠道id
+     * @return bool
+     */
+    public function check(string $name, int $promote_id): bool;
+
+}