0
点赞
收藏
分享

微信扫一扫

【片段】打印代码

草原小黄河 2023-01-11 阅读 63


dump($success_num);

if ($success_num > 1) {

//任务
$flag = Db::name('queue_school_jobs')->where(['id' => $id])->update(['reserved' => 801, 'available_at' => time()]);



$is_return_print_msg = Db::name('order_print')->where(['store_id' => $store_id, 'order_id' => $order_id, 'type' => 2])->find();

if (!$is_return_print_msg) {


$logic = new AutoFeiELogic();
// 打印出退单
$title = "用户申请退款,请及时处理!";
$res = $logic->print_order($order['order_id'], $store_id, $title, 2);

}


}

D:\c\c3w_v5\application\index\controller\Queue2.php

 

 

190行

举报

相关推荐

0 条评论