数据库新增sn 标记

This commit is contained in:
root
2025-05-18 17:55:14 +00:00
parent 27d152da85
commit 78525acffe
4 changed files with 23 additions and 9 deletions
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1872,7 +1872,7 @@ TG ID <code>{$from['id']}</code>
if ($req['code'] == true) {
$reqx = $this->Customer->submitkt($tmuid, $tmkey,$this->bots['botid'],$odder['money'], $odder['username'], $mappedValue, $this->bots['apiurl']);
$reqx = $this->Customer->submitkt($tmuid, $tmkey,$this->bots['botid'],$order_no,$odder['money'], $odder['username'], $mappedValue, $this->bots['apiurl']);
//var_dump($reqx);
if ($reqx['code'] == 0) {
Db::name('order')->where("order_no", $order_no)->update(['start' => 1]);
@@ -1902,7 +1902,7 @@ TG ID <code>{$from['id']}</code>
$dakai = json_decode($odder['username'], true);
foreach ($dakai as $key => $value) {
$reqx = $this->Customer->submitkt($tmuid, $tmkey,$this->bots['botid'],$odder['danprice'], "@" . $value, $mappedValue, $this->bots['apiurl']);
$reqx = $this->Customer->submitkt($tmuid, $tmkey,$this->bots['botid'],$order_no,$odder['danprice'], "@" . $value, $mappedValue, $this->bots['apiurl']);
if ($reqx['code'] == 0) {
$this->telegram->sendMessage($this->bots['botad'], $reqx['msg'] . "\r\n" . "单号:<code>" . $order_no . "</code>" . "\r\n" . "用户名:<code>" . $odder['username'] . "</code>" . "\r\n" . "开通时间:<code>" . $odder['tancan'] . "</code>" . "\r\n" . "消费金额:<code>" . $odder['money'] . "</code>" . "\r\n" . "处理方法:充值余额后手动提交给机器人代替客户开通");
//return true;