【片段】打印代码

阅读 63

2023-01-11


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)

0 0 举报