Baidu.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace crmeb\services\template\storage;
  12. use crmeb\basic\BaseMessage;
  13. class Baidu extends BaseMessage
  14. {
  15. /**
  16. * 初始化
  17. * @param array $config
  18. * @return mixed|void
  19. */
  20. protected function initialize(array $config)
  21. {
  22. parent::initialize($config); //
  23. }
  24. /**
  25. * 发送模板消息
  26. * @param string $templateId
  27. * @param array $data
  28. * @return mixed|void
  29. */
  30. public function send(string $templateId, array $data = [])
  31. {
  32. //
  33. }
  34. /**
  35. * 添加模板消息
  36. * @param string $shortId
  37. * @return mixed|void
  38. */
  39. public function add(string $shortId)
  40. {
  41. //
  42. }
  43. /**
  44. * 删除模板消息
  45. * @param string $templateId
  46. * @return mixed|void
  47. */
  48. public function delete(string $templateId)
  49. {
  50. //
  51. }
  52. /**
  53. * 模板消息列表
  54. * @return mixed|void
  55. */
  56. public function list()
  57. {
  58. //
  59. }
  60. }