|
@@ -65,7 +65,10 @@ class mfcode
|
|
|
$result = [];
|
|
|
$result['fcode_id'] = $this->fc_id();
|
|
|
|
|
|
- $result['goods_id'] = commonid_helper::instance()->one_goods($this->commonid());
|
|
|
+ $goods_id = commonid_helper::instance()->one_goods($this->commonid());
|
|
|
+ if($goods_id == false) return;
|
|
|
+
|
|
|
+ $result['goods_id'] = $goods_id;
|
|
|
$result['fcode'] = $this->fcode();
|
|
|
$result['key'] = $this->user_key();
|
|
|
$result['usable_time'] = $this->usable_time();
|