作者 王智

222

... ... @@ -783,7 +783,7 @@ class Index extends Api
public
function CommonProblem()
{
$problem = Db::name('problem')->select();
$problem = Db::name('problem')->find();
// foreach ($problem as $k => $v) {
$return['content'] = $problem['content'];
$return['id'] = $problem['id'];
... ... @@ -813,7 +813,7 @@ class Index extends Api
public
function InvoiceInstructions()
{
$invoice = Db::name('invoice')->select();
$invoice = Db::name('invoice')->find();
// foreach ($invoice as $k => $v) {
// $return[$k]['content'] = $v['content'];
// $return[$k]['id'] = $v['id'];
... ... @@ -845,7 +845,7 @@ class Index extends Api
public
function ContactUs()
{
$contact = Db::name('contact')->select();
$contact = Db::name('contact')->find();
// foreach ($contact as $k => $v) {
// $return[$k]['content'] = $v['content'];
// $return[$k]['id'] = $v['id'];
... ...