简要描述:

  • 推广中心设置

请求域名:

  • http://test.yunzshop.com

请求URL:

请求模板接口:member.popularize-page-show.index 微信公众号接口:member.popularize-page-show.wechatSet 微信小程序接口:member.popularize-page-show.miniSet wap接口:member.popularize-page-show.wapSet app接口:member.popularize-page-show.appSet 支付宝接口:member.popularize-page-show.alipaySet

参数:

参数名 说明
info
background_color 主题色
callback_url H5跳转页面
small_extension_link 小程序链接
is_show_unable 0=不显示,显示查看备注信息
show_member_id 会员id 0=不显示 1=显示
income_config
name 插件名称
value 累计金额

备注:

if (isset($info['popularize']) && $info['popularize'] == 1) 推广中心
if (in_array('extension', $info['vue_route']))  checked


循环:plugin_page
title = 插件名
具体渲染插件旧blade模板渲染

更多权限显示
if(is_null($info['is_show_unable']) || $info['is_show_unable'])显示


累计金额 剩余可提现金额
查看旧blade模板渲染数据

返回示例:

^ array:3 [▼
  "info" => array:54 [▼
    "callback_url" => ""
    "is_show_unable" => "1"
    "show_member_id" => "0"
    "agent-dividend" => "0"
    "appointment_withdraw" => "0"
    "area_dividend" => "0"
    "income_worker" => "0"
    "digitization" => "0"
    "circle" => "0"
    "clock_in" => "0"
    "cloudWarehouse" => "0"
    "commission" => "0"
    "commission_manage" => "0"
    "commission-ranking" => "0"
    "consume_reward" => "0"
    "energyCabin" => "0"
    "full_return" => "0"
    "hotel_cashier" => "0"
    "hotel_withdraw" => "0"
    "integral" => "0"
    "live_install" => "0"
    "love_withdraw" => "0"
    "love_return" => "0"
    "manual_bonus" => "0"
    "member-share-reward" => "0"
    "micro" => "0"
    "new_retail_return" => "0"
    "ordinary_dividend" => "0"
    "icon-extension_love_cycle_reward" => "0"
    "partner_reward" => "0"
    "icon-extension_team_reward" => "0"
    "recommend-reward" => "0"
    "red-packet" => "0"
    "reserve-fund" => "0"
    "room" => "0"
    "room_code" => "0"
    "school_company" => "0"
    "share_chain" => "0"
    "shareholder_dividend" => "0"
    "snatch_regiment_return" => "0"
    "stock-dividend" => "1"
    "store_business_alliance" => "0"
    "store_cashier" => "0"
    "store_withdraw" => "0"
    "store_boss_withdraw" => "0"
    "store_projects_withdraw" => "0"
    "extendStoreRewards" => "0"
    "superior_reward_return" => "0"
    "team_dividend" => "0"
    "icon-area_manage" => "0"
    "video_demand" => "0"
    "icon-reward_record" => "0"
    "WeightedDividend_return" => "0"
    "zhp" => "0"
  ]
  "plugin_page" => array:47 [▼
    0 => array:4 [▼
      "url" => "AgentBonus"
      "title" => "代理商分红"
      "mark" => "agent-dividend"
      "status" => 0
    ]
    1 => array:4 [▶]
    2 => array:4 [▶]
    3 => array:4 [▶]
    4 => array:4 [▶]
    5 => array:4 [▶]
    6 => array:4 [▶]
    7 => array:4 [▶]
    8 => array:4 [▶]
    9 => array:4 [▶]
    10 => array:4 [▶]
    11 => array:4 [▶]
    12 => array:4 [▶]
    13 => array:4 [▶]
    14 => array:4 [▶]
    15 => array:4 [▶]
    16 => array:4 [▶]
    17 => array:4 [▶]
    18 => array:4 [▶]
    19 => array:4 [▶]
    20 => array:4 [▶]
    21 => array:4 [▶]
    22 => array:4 [▶]
    23 => array:4 [▶]
    24 => array:4 [▶]
    25 => array:4 [▶]
    26 => array:4 [▶]
    27 => array:4 [▶]
    28 => array:4 [▶]
    29 => array:4 [▶]
    30 => array:4 [▶]
    31 => array:4 [▶]
    32 => array:4 [▶]
    33 => array:4 [▶]
    34 => array:4 [▶]
    35 => array:4 [▶]
    36 => array:4 [▶]
    37 => array:4 [▶]
    38 => array:4 [▶]
    39 => array:4 [▶]
    40 => array:4 [▶]
    41 => array:4 [▶]
    42 => array:4 [▶]
    43 => array:4 [▶]
    44 => array:4 [▶]
    45 => array:4 [▶]
    46 => array:4 [▶]
  ]
  "income_config" => array:47 [▼
    "agentDividend" => array:2 [▼
      "value" => "agent-dividend"
      "name" => "代理商分红"
    ]
    "appointment_withdraw" => array:2 [▼
      "value" => "appointment_withdraw"
      "name" => "门店预约"
    ]
    "areaDividend" => array:2 [▼
      "value" => "area_dividend"
      "name" => "区域分红"
    ]
    "income_worker" => array:2 [▶]
    "channel_income" => array:2 [▶]
    "circle" => array:2 [▶]
    "clockIn" => array:2 [▶]
    "commission" => array:2 [▶]
    "commission_ranking" => array:2 [▶]
    "consumer_reward" => array:2 [▶]
    "teamDividend" => array:2 [▶]
    "fullReturn" => array:2 [▶]
    "GlobalDividendModel" => array:2 [▶]
    "goods_sales" => array:2 [▶]
    "integral" => array:2 [▶]
    "levelReturn" => array:2 [▶]
    "live_install_income" => array:2 [▶]
    "love_withdraw" => array:2 [▶]
    "love_return" => array:2 [▶]
    "MemberShareReward" => array:2 [▶]
    "merchant" => array:2 [▶]
    "micro" => array:2 [▶]
    "new_retail_income" => array:2 [▶]
    "package_deliver_income" => array:2 [▶]
    "partnerReward" => array:2 [▶]
    "performance_income" => array:2 [▶]
    "pointActivity" => array:2 [▶]
    "RecommendReward" => array:2 [▶]
    "RedPacket" => array:2 [▶]
    "room" => array:2 [▶]
    "room_code" => array:2 [▶]
    "SaleCommission" => array:2 [▶]
    "share_chain" => array:2 [▶]
    "singleReturn" => array:2 [▶]
    "StockDividend" => array:2 [▶]
    "store_cashier" => array:2 [▶]
    "store_withdraw" => array:2 [▶]
    "store_boss" => array:2 [▶]
    "store_projects_withdraw" => array:2 [▶]
    "store_shareholder_income" => array:2 [▶]
    "superior_reward_income" => array:2 [▶]
    "team_manage_income" => array:2 [▶]
    "team-rewards" => array:2 [▶]
    "videoDemand" => array:2 [▶]
    "video_share_income" => array:2 [▶]
    "WeightedDividend" => array:2 [▶]
    "zhpGroupLottery" => array:2 [▶]
  ]
]

请求参数示例:

^ array:50 [▼
  "background_color" => ""
  "callback_url" => ""
  "is_show_unable" => "1"
  "show_member_id" => "0"
  "agent-dividend" => "0"
  "appointment_withdraw" => "0"
  "area_dividend" => "0"
  "income_worker" => "0"
  "circle" => "0"
  "clock_in" => "0"
  "commission" => "0"
  "commission-ranking" => "0"
  "consumerRewardIndex" => "0"
  "team_dividend" => "0"
  "full_return" => "0"
  "global_dividend" => "0"
  "goods-sales" => "0"
  "integral" => "0"
  "level_return" => "0"
  "live_install" => "0"
  "love_withdraw" => "0"
  "love_return" => "0"
  "member-share-reward" => "0"
  "merchant" => "0"
  "micro" => "0"
  "new_retail_return" => "0"
  "icon-extension_love_cycle_reward" => "0"
  "partner_reward" => "0"
  "icon-extension_team_reward" => "0"
  "point_activity" => "0"
  "recommend-reward" => "0"
  "red-packet" => "0"
  "room" => "0"
  "room_code" => "0"
  "sales-commission" => "0"
  "share_chain" => "0"
  "single_return" => "0"
  "stock-dividend" => "1"
  "store_cashier" => "0"
  "store_withdraw" => "0"
  "store_boss_withdraw" => "0"
  "store_projects_withdraw" => "0"
  "icon-extension_shop_shareholder" => "0"
  "superior_reward_return" => "0"
  "icon-area_manage" => "0"
  "team-rewards" => "0"
  "video_demand" => "0"
  "icon-reward_record" => "0"
  "WeightedDividend_return" => "0"
  "zhp" => "0"
]