示例#1
0
 /**
  * @return TCVM_Payment_Model_LogAdaptive
  */
 public static function GetInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
示例#2
0
文件: Imple.php 项目: rocknoon/TCVM
 protected function _logAdaptive($orderId, $payKey)
 {
     $errorModel = TCVM_Payment_Model_LogAdaptive::GetInstance();
     $errorModel->insert(array("order_id" => $orderId, "pay_key" => $payKey, "date_add" => time()));
 }