新增测试订单

master
chenzhi 4 years ago
parent 96c937b7d3
commit 36e9125363

@ -97,7 +97,13 @@ class TestOrderController extends ThinkController
public function saveOrder() {
$data = $_GET;
//获取parter_id
if(isset($data["merchant_id"])){
$w = [
"id"=>$data["merchant_id"]
];
$data["partner_type"] = M("payment_merchant","tab_")->where($w)->getField("main_id");
}
// dump($data);die();
$data['add_time'] = time();
$data['pay_time'] = strtotime($data['pay_time']);

Loading…
Cancel
Save