mStoreID; $pcode = $other['product_code']; $thrid_refill = Model('thrid_refill'); $product = $thrid_refill->getProviderProduct($store_id,$goods_id,$pcode); if(empty($product)) { Log::record("cannot find provider's produce where name={$this->mName}, goods_id = {$goods_id} pcode={$pcode}",Log::ERR); return [0,0]; } else { return [$goods_id,ncPriceFormat($product['channel_amount'])]; } } }