|
|
|
@ -66,6 +66,8 @@ class CacheRepository extends BaseRepository |
|
|
|
|
const COUPON_AGREE = 'sys_coupon_agree'; |
|
|
|
|
//付费会员协议 |
|
|
|
|
const SYS_SVIP = 'sys_svip'; |
|
|
|
|
//预存注意事项 |
|
|
|
|
const LOTTERY_RULE = 'the_lottery_rule'; |
|
|
|
|
|
|
|
|
|
public function getAgreeList($type) |
|
|
|
|
{ |
|
|
|
@ -74,17 +76,18 @@ class CacheRepository extends BaseRepository |
|
|
|
|
['label' => '隐私政策', 'key' => self::USER_PRIVACY], |
|
|
|
|
['label' => '平台规则', 'key' => self::PLATFORM_RULE], |
|
|
|
|
['label' => '注销重要提示', 'key' => self::CANCELLATION_PROMPT], |
|
|
|
|
['label' => '商户入驻申请协议', 'key' => self::INTEGRAL_AGREE], |
|
|
|
|
['label' => '预存注意事项', 'key' => self::LOTTERY_RULE], |
|
|
|
|
]; |
|
|
|
|
if (!$type) { |
|
|
|
|
$data[] = ['label' => '注销声明', 'key' => self::CANCELLATION_MSG]; |
|
|
|
|
// $data[] = ['label' => '注销声明', 'key' => self::CANCELLATION_MSG]; |
|
|
|
|
$data[] = ['label' => '关于我们', 'key' => self::ABOUT_US]; |
|
|
|
|
$data[] = ['label' => '资质证照', 'key' => self::SYS_CERTIFICATE]; |
|
|
|
|
} |
|
|
|
|
return $data; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function getAgreeKey(){ |
|
|
|
|
public function getAgreeKey() |
|
|
|
|
{ |
|
|
|
|
return [ |
|
|
|
|
self::INTEGRAL_RULE, |
|
|
|
|
self::INTEGRAL_AGREE, |
|
|
|
@ -104,6 +107,7 @@ class CacheRepository extends BaseRepository |
|
|
|
|
self::PLATFORM_RULE, |
|
|
|
|
self::COUPON_AGREE, |
|
|
|
|
self::SYS_SVIP, |
|
|
|
|
self::LOTTERY_RULE, |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|