예제 #1
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('spbill_create_ip', $_SERVER['SERVER_ADDR']);
 }
예제 #2
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct(Arr::only($attributes, $this->properties));
 }
예제 #3
0
파일: Order.php 프로젝트: zerozh/wechat
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('spbill_create_ip', get_client_ip());
 }
예제 #4
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('fee_type', 'CNY');
 }
예제 #5
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
 }