当前位置: 首页 > 工具软件 > Niushop > 使用案例 >

Niushop开源商城 平台招商接口类

费秦迟
2023-12-01
平台招商接口类 全部
<?php
namespace data\api\niucms;
/**
 * 招商员接口
 * @author Administrator
 *
 */
interface IBusinessAssistant{
    /**
     * 招商员申请(形成待支付单据)
     * @param unknown $uid
     * @param unknown $mobile
     * @param unknown $parent_assistant_mobile
     * @param unknown $apply_level
     */
   function businessAssistantApply($uid, $mobile, $parent_assistant_mobile, $apply_level);
   /**
    * 线上支付招商员申请
    * @param unknown $out_trade_no
    */
   function payOnlineBusinessAssistantApply($out_trade_no);
   /**
    * 线下支付招商员申请
    * @param unknown $assistant_id  //申请ID
    * @param unknown $out_trade_no  //支付账号
    * @param unknown $bank_name     //银行名称
    * @param unknown $bank_account  //银行账户
    * @param unknown $pay_certificate  支付凭据
    */
   function payOfflineBusinessAssistantApply($assistant_id, $out_trade_no, $bank_name, $bank_account, $pay_certificate);
   /**
    * 获取招商员列表
    * @param number $page_index
    * @param number $page_size
    * @param string $condition
    * @param string $order
    */
   function getbusinessAssistantList($page_index = 1, $page_size = 0, $condition = '', $order = '');
   /**
    * 添加招商员账户流水号
    * @param unknown $business_assistant_id
    * @param unknown $account_type
    * @param unknown $type_alis_id
    * @param unknown $money
    * @param unknown $remark
    */
   function addbusinessAssistantAccountRecords($business_assistant_id, $account_type,$type_alis_id, $money, $remark);
   /**
    * 获取招商员等级列表
    * @param number $page_index
    * @param number $page_size
    * @param string $condition
    * @param string $order
    */
   function getbusinessAssistantLevelList($page_index = 1, $page_size = 0, $condition = '', $order = '');
   /**
    * 添加招商员等级
    * @param unknown $level_name
    * @param unknown $level_money
    * @param unknown $recommend_rate
    * @param unknown $level_0
    * @param unknown $level_1
    * @param unknown $level_2
    */
   function addBusinessAssistantLevel($level_name, $level_money, $recommend_rate, $level_0, $level_1, $level_2);
   /**
    * 修改招商员等级
    * @param unknown $level_id
    * @param unknown $level_name
    * @param unknown $level_money
    * @param unknown $recommend_rate
    * @param unknown $level_0
    * @param unknown $level_1
    * @param unknown $level_2
    */
   function updateBusinessAssistantLevel($level_id, $level_name, $level_money, $recommend_rate, $level_0, $level_1, $level_2);
   /**
    * 获取招商员等级信息
    * @param unknown $level_id
    */
   function getBusinessAssistantLevelinfo($level_id);
   /**
    * 获取招商员详细信息
    * @param unknown $business_assistant_id
    */
   function getBusinessAssistantDetail($business_assistant_id);
   /**
    * 获取招商员基础信息
    * @param unknown $business_assistant_id
    */
   function getBusinessAssistantInfo($business_assistant_id);
}

 类似资料: