订单加前缀

This commit is contained in:
“wanyongkang”
2024-03-02 10:32:19 +08:00
parent c65b961dd0
commit a71ff9cf91
3 changed files with 6 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ class Order extends Controller
$money = abs($product_info['price']);
$order_no = md5(time());
$order_no = "ruanluyou".time().rand(100,999);
$order_model = new OrderModel();
@@ -145,7 +145,7 @@ class Order extends Controller
$money = abs($product_info['price']);
$order_no = md5(time());
$order_no = "ruanluyou".time().rand(100,999);;
$order_model = new OrderModel();
@@ -244,7 +244,7 @@ class Order extends Controller
die;
}
$order_no = md5(time());
$order_no = "ruanluyou".time().rand(100,999);
$order_model = new OrderModel();
$order_data = [