You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
965 B

<?php
namespace App\Service;
interface MiniprogramServiceInterface
{
/**
* 外卖线上订单模板消息
* @param $order_main_id
* @return mixed
*/
public function sendTemMsgForOnlineOrder($order_main_id);
/**
* 当面线下订单模板消息
* @param $order_main_id
* @return mixed
*/
public function sendTemMsgForOfflineOrder($order_main_id);
/**
* 奖励模板消息
* @param $money
* @param $note
* @param $openid
* @param $time
* @return mixed
*/
public function sendTemMsgForAward($money, $note, $openid, $time);
/**
* 发送模板消息
* @param $openid
* @param $template_id
* @param $data
* @param string $redirect_url
* @param string[] $applet_config
* @return mixed
*/
public function sendTempMsg($openid, $template_id, $data, $redirect_url = '', $applet_config = ['appid' => '', 'pagepath' => '']);
}