作者 王智

xiugai

@@ -93,4 +93,29 @@ class Update extends Api @@ -93,4 +93,29 @@ class Update extends Api
93 $Info = Db::name('pay_miniappfriends')->find(); 93 $Info = Db::name('pay_miniappfriends')->find();
94 $this->success('成功', ['title' => '点击领取' . $UserInfo['nickname'] . '送你的' . $Info['title'], 'image' => cdnurl($Info['image'])]); 94 $this->success('成功', ['title' => '点击领取' . $UserInfo['nickname'] . '送你的' . $Info['title'], 'image' => cdnurl($Info['image'])]);
95 } 95 }
  96 +
  97 +
  98 + /**
  99 + * 改版接口
  100 + * @ApiTitle (氧气泡泡使用规则)
  101 + * @ApiSummary (氧气泡泡使用规则)
  102 + * @ApiMethod (POST)
  103 + * @ApiRoute (/api/Update/WaterOOGroup)
  104 + * @ApiReturnParams (name="code", type="integer", required=true, sample="0")
  105 + * @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
  106 + * @ApiReturn ({
  107 + 'code':'1',
  108 + 'msg':'返回成功',
  109 + "data": {
  110 + "title": "点击领取榴莲味儿的鸡蛋仔送你的免费能量测试及健康礼券",
  111 + "image": "http://xm-public.xyslife.com/life2c/20210106/FmpUPCk0MZAmKJ-LHaKzNwvCdhJk.jpg"
  112 + }
  113 + }
  114 + })
  115 + */
  116 + public function WaterOOGroup()
  117 + {
  118 + $Info = Db::name('water_content')->find();
  119 + $this->success('成功', $Info);
  120 + }
96 } 121 }