3 Star 9 Fork 7

東亮小课 / 嘟嘟跑腿后端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.php 556 Bytes
一键复制 编辑 原始数据 按行查看 历史
東亮小课 提交于 2021-03-04 22:14 . 验证
<?php
$user_mobile = 15823044918;
echo str_replace(mb_substr(mb_substr($user_mobile, 3,5,'utf-8'), 4,8,'utf-8'), '****', $user_mobile);
$orderId = 8;
require $_SERVER['DOCUMENT_ROOT'] . '/vendor/' . 'JpushSend.class.php';
$receive['alias'][] = $user_mobile;
$chattitle = '新信息';
$content = '您有新的订单';
$content = $chattitle . ":" . $content;
$fetion = new JpushSend();
$m_type = 'paotui';
$m_txt = array('orderId' => $orderId);
$m_time = '600'; //默认
$res = $fetion->sendPub($receive, $content, $m_type, $m_txt, $m_time);
echo $res;
PHP
1
https://gitee.com/dudupaotui/doodle_running_leg_back_end.git
git@gitee.com:dudupaotui/doodle_running_leg_back_end.git
dudupaotui
doodle_running_leg_back_end
嘟嘟跑腿后端
master

搜索帮助