作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

用户服务协议

... ... @@ -91,7 +91,7 @@ class Index extends Api
"time": "1625558684",
"data": {
"title": "会诊下单", //标题
"text_prie": "100.00", //文字沟通费用
"text_price": "100.00", //文字沟通费用
"audio_price": "110.00", //语音沟通费用
"doctor": { //医生信息
"id": 1, //医生ID
... ... @@ -113,7 +113,7 @@ class Index extends Api
empty($dept) && $this->error('专科不存在');
$data = [
'title' => $dept['name'],
'text_prie' => $dept['text_price'],
'text_price' => $dept['text_price'],
'audio_price' => $dept['audio_price'],
'doctor' => (Object)[],
];
... ... @@ -122,7 +122,7 @@ class Index extends Api
empty($doctor) && $this->error('医生信息不存在');
$data = [
'title' => '会诊下单',
'text_prie' => $doctor['text_price'],
'text_price' => $doctor['text_price'],
'audio_price' => $doctor['audio_price'],
'doctor' => $doctor->visible(['id','nickname','good_field','description'])->append(['level']),
];
... ...
... ... @@ -858,6 +858,25 @@ class User extends Api
}
/**
* @ApiWeigh (70)
* @ApiTitle (用户服务协议)
* @ApiSummary (用户服务协议)
* @ApiMethod (POST)
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1622016289",
"data": {
"content": "用户服务协议"
}
})
*/
public function agreement(){
$content = config('site.agreement');
$this->success('成功',compact('content'));
}
/**
* @ApiWeigh (69)
* @ApiTitle (关于我们)
* @ApiSummary (关于我们)
... ...
... ... @@ -33,7 +33,8 @@ return array (
'mail_smtp_pass' => 'password',
'mail_verify_type' => '2',
'mail_from' => '10000@qq.com',
'startup_page' => 'https://ljfl.brofirst.cn/uploads/20191123/79c6b5809e108a1ca14abe6ca080f3cc.png',
'apply_doctor_description' => '<p>天气:晴</p><p>今天天气真好<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;很耐斯<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p><br /></p><p><br /></p><p>棒棒的<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p>',
'about_us' => '<p class="g-para" style="margin-top:0px;margin-bottom:20px;padding:0px;word-break:break-all;color:#666666;line-height:1.7;width:796px;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;"><p style="white-space:normal;">天气:晴</p><p style="white-space:normal;">今天天气真好<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;很耐斯<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;">棒棒的<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p></p>',
'startup_page' => '/uploads/20210810/0b5d0c450f7aa53d0a068c205eb8949f.png',
'apply_doctor_description' => '<table data-type="sm-sheets" data-row="7" data-col="0"><tbody><tr style="height:33px;"><td style="width:150px;font-size:10pt;vertical-align:middle;"><p>医生入驻说明:</p><p><table data-type="sm-sheets" data-row="7" data-col="0"><tbody><tr style="height:33px;"><td style="width:150px;font-size:10pt;vertical-align:middle;">医生入驻</td></tr></tbody></table><table data-type="sm-sheets" data-row="7" data-col="0"><tbody><tr style="height:33px;"><td style="width:150px;font-size:10pt;vertical-align:middle;">医生入驻</td></tr></tbody></table><table data-type="sm-sheets" data-row="7" data-col="0"><tbody><tr style="height:33px;"><td style="width:150px;font-size:10pt;vertical-align:middle;">医生入驻</td></tr></tbody></table></p></td></tr></tbody></table>',
'about_us' => '<p class="g-para" style="margin-top:0px;margin-bottom:20px;padding:0px;word-break:break-all;color:#666666;line-height:1.7;width:796px;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;"><br /></p><p style="white-space:normal;">天气:晴</p><p style="white-space:normal;">今天天气真好<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;很耐斯<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;">棒棒的<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p><br /></p>',
'agreement' => '<p style="white-space:normal;">天气:晴</p><p style="white-space:normal;">今天天气真好<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;很耐斯<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;"><br /></p><p style="white-space:normal;">棒棒的<span style="color:#666666;font-family:tahoma, arial, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, u5b8bu4f53, sans-serif;font-size:14px;background-color:#FFFFFF;">,京东集团在香港联交所二次上市,募集资金约345.58亿港元,用于投资以</span></p>',
);
... ...
... ... @@ -3941,7 +3941,7 @@
"time": "1625558684",
"data": {
"title": "会诊下单", //标题
"text_prie": "100.00", //文字沟通费用
"text_price": "100.00", //文字沟通费用
"audio_price": "110.00", //语音沟通费用
"doctor": { //医生信息
"id": 1, //医生ID
... ...