作者 王智

xiugai

... ... @@ -93,4 +93,29 @@ class Update extends Api
$Info = Db::name('pay_miniappfriends')->find();
$this->success('成功', ['title' => '点击领取' . $UserInfo['nickname'] . '送你的' . $Info['title'], 'image' => cdnurl($Info['image'])]);
}
/**
* 改版接口
* @ApiTitle (氧气泡泡使用规则)
* @ApiSummary (氧气泡泡使用规则)
* @ApiMethod (POST)
* @ApiRoute (/api/Update/WaterOOGroup)
* @ApiReturnParams (name="code", type="integer", required=true, sample="0")
* @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
* @ApiReturn ({
'code':'1',
'msg':'返回成功',
"data": {
"title": "点击领取榴莲味儿的鸡蛋仔送你的免费能量测试及健康礼券",
"image": "http://xm-public.xyslife.com/life2c/20210106/FmpUPCk0MZAmKJ-LHaKzNwvCdhJk.jpg"
}
}
})
*/
public function WaterOOGroup()
{
$Info = Db::name('water_content')->find();
$this->success('成功', $Info);
}
}
\ No newline at end of file
... ...