|
@@ -30,6 +30,9 @@ class app_payControl extends mbMemberControl
|
|
|
*/
|
|
|
public function uniorderOp()
|
|
|
{
|
|
|
+// static $and_exversions = array();
|
|
|
+// static $ios_exversions = array();
|
|
|
+
|
|
|
$token = trim($_GET['key']);
|
|
|
if (false == $this->checkToken($token)) {
|
|
|
Log::record("uniorder 1",Log::ERR);
|
|
@@ -38,6 +41,11 @@ class app_payControl extends mbMemberControl
|
|
|
|
|
|
$pay_sn = $_GET['paysn'];
|
|
|
$payment = $_GET['payment'];
|
|
|
+ $vcode = $_GET['vcode'];
|
|
|
+
|
|
|
+ if(empty($vcode)) {
|
|
|
+ return joutput_error(errcode::ErrPayment, "抱歉,请升级到最新版本.");
|
|
|
+ }
|
|
|
|
|
|
if (in_array($payment, self::$pay_types) == false) {
|
|
|
Log::record("uniorder 2",Log::ERR);
|