Browse Source

报错信息

shish 6 years ago
parent
commit
33e854cc53
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/client/controllers/OrderController.php

+ 2 - 2
app/client/controllers/OrderController.php

@@ -245,8 +245,8 @@ class OrderController extends BaseController
 		if (httpUtil::isMiniProgram()) {
 		if (httpUtil::isMiniProgram()) {
 			$sourceType = 2;
 			$sourceType = 2;
 		}
 		}
-		$sourceType = isset($post['sourceType']) ? $post['source'] : 0;
-		
+		$sourceType = isset($post['sourceType']) ? $post['sourceType'] : 0;
+
 		$post['userId'] = $this->userId;
 		$post['userId'] = $this->userId;
 		$prePrice = round($post['prePrice'], 2);
 		$prePrice = round($post['prePrice'], 2);
 		$couponId = isset($post['couponId']) ? $post['couponId'] : 0;
 		$couponId = isset($post['couponId']) ? $post['couponId'] : 0;