Browse Source

from type

zz 5 năm trước cách đây
mục cha
commit
e571f24a64
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Wap/Pay/OrdersController.php

+ 1 - 1
app/Http/Controllers/Wap/Pay/OrdersController.php

@@ -130,7 +130,7 @@ class OrdersController extends Controller
         $openid = $request->has('openid') ? $request->get('openid') : '';
         $bid = $request->has('bid') ? $request->get('bid') : 0;
         $hash_bid = $bid;
-        $fromtype = $request->has('fromtype') ? $request->get('fromtype') : $request->get('from');
+        $fromtype = $request->has('fromtype') ? $request->get('fromtype') : $request->get('from','main');
 
         if ($fromtype && strlen($fromtype) > 50) {
             try {