123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- import request from '@/utils/request';
- // 微信登录
- export function WeChat_login(data) {
- return request({
- url: '/api/Login/WeChat_login',
- method: 'POST',
- data
- });
- }
- // 验证码登录
- export function verification_code_login(data) {
- return request({
- url: '/api/Login/verification_code_login',
- method: 'POST',
- data
- });
- }
- // 绑定手机号
- export function binding_phone(data) {
- return request({
- url: '/api/Login/binding_phone',
- method: 'POST',
- data
- });
- }
- // 发送短信验证码
- export function send_sms(data) {
- return request({
- url: '/api/Login/send_sms',
- method: 'POST',
- data
- });
- }
- // 获取配置信息
- export function config_info(params) {
- return request({
- url: '/api/Index/config_info',
- method: 'GET',
- params
- });
- }
- // 热门搜索关键词
- export function search_keyword_list(params) {
- return request({
- url: '/api/Index/search_keyword_list',
- method: 'GET',
- params
- });
- }
- // 热搜资讯
- export function consult_list(params) {
- return request({
- url: '/api/Index/consult_list',
- method: 'GET',
- params
- });
- }
- // 资讯详情
- export function consult_detail(params) {
- return request({
- url: '/api/Index/consult_detail',
- method: 'GET',
- params
- });
- }
- // 广告位
- export function adv_list(params) {
- return request({
- url: '/api/Index/adv_list',
- method: 'GET',
- params
- });
- }
- // 个人信息
- export function member_info(params) {
- return request({
- url: '/api/Member/member_info',
- method: 'GET',
- params
- });
- }
- // 编辑个人信息
- export function edit_member_info(data) {
- return request({
- url: '/api/Member/edit_member_info',
- method: 'POST',
- data
- });
- }
- // 搜索数据列表
- export function data_list(params) {
- return request({
- url: '/api/Index/data_list',
- method: 'GET',
- params
- });
- }
- // 获取OSS上传配置
- export function getSignedUrl(data) {
- return request({
- url: '/api/Upload/getSignedUrl',
- method: 'POST',
- data
- });
- }
- // 我的套餐
- export function my_package(params) {
- return request({
- url: '/api/Package/my_package',
- method: 'GET',
- params
- });
- }
- // 我的消息
- export function message_list(params) {
- return request({
- url: '/api/Message/message_list',
- method: 'GET',
- params
- });
- }
- // 提交留言
- export function submit_message(data) {
- return request({
- url: '/api/Message/submit_message',
- method: 'POST',
- data
- });
- }
- // 轮播图列表
- export function banner(params) {
- return request({
- url: '/api/Subject/banner',
- method: 'GET',
- params
- });
- }
- // 专题列表
- export function subject_list(params) {
- return request({
- url: '/api/Subject/subject_list',
- method: 'GET',
- params
- });
- }
- // 专题详情
- export function subject_detail(params) {
- return request({
- url: '/api/Subject/subject_detail',
- method: 'GET',
- params
- });
- }
- // 套餐信息
- export function package_list(params) {
- return request({
- url: '/api/Package/package_list',
- method: 'GET',
- params
- });
- }
- // 立即下单
- export function create_order(data) {
- return request({
- url: '/api/Package/create_order',
- method: 'POST',
- data
- });
- }
- // 关于我们
- export function about_us(params) {
- return request({
- url: '/api/Index/about_us',
- method: 'GET',
- params
- });
- }
- // 获取套餐订单支付状态
- export function get_pay_status(params) {
- return request({
- url: '/api/Package/get_pay_status',
- method: 'GET',
- params
- });
- }
- // 导航栏
- export function navigation_list(params) {
- return request({
- url: '/api/Index/navigation_list',
- method: 'GET',
- params
- });
- }
-
|