Home - 商城APP 登录  
最后修改者: admin  2024-02-03 22:39:40 

【需要token】用户额度还款

编号  :  789797

POST - api/limit/repayment
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "id": 3,
            "type": "3期",
            "price": "33.33",
            "interest": "3.00"
        },
        {
            "id": 6,
            "type": "6期",
            "price": "16.66",
            "interest": "3.00"
        },
        {
            "id": 9,
            "type": "9期",
            "price": "11.11",
            "interest": "3.00"
        },
        {
            "id": 12,
            "type": "12期",
            "price": "8.33",
            "interest": "3.00"
        },
        {
            "id": 24,
            "type": "24期",
            "price": "4.16",
            "interest": "3.00"
        }
    ]
}
备注
注意:
列表里面id传给---用户还授信额度接口去

interest 这个字段是利息,每一期的利息都是一样的
最后修改者: admin  2024-02-02 23:47:46 

【不需要token】忘记密码

编号  :  465456456

POST - api/forget_reset
请求参数
参数名 参数类型 必传 缺省值 描述
account string Y
邮箱或者手机号
password string Y
密码
confirm_password string Y
确认密码
captcha string Y
验证码
返回值
{
    "status": 200,
    "msg": "修改成功",
    "code": "100001"
}
最后修改者: admin  2024-02-03 23:01:22 

【需要token】用户还授信额度

编号  :  4567984684

POST - api/user/credit_money_repayment
请求参数
参数名 参数类型 必传 缺省值 描述
price string Y
金额
pay_password string Y
支付密码
id string Y
用户还授信额度接口id
返回值
{
    "status": 200,
    "msg": "success"
}
备注
注意:
1、自定义金额id传1

2、price金额是金额+利息
最后修改者: admin  2024-01-17 00:09:25 

【需要token】用户是否有未读新消息

编号  :  123123

GET - api/user/unread_messages
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "state": 0
    }
}
备注
state :
1---就是有未读消息给弹框 
0---就是没有未读消息
弹框内容:您有新消息
给2个按钮一个按钮是查看(查看直接到消息列表去),和一个按钮关闭(关闭的时候调一下标记为全部已读那个接口)--api/user/message_system/edit_message
最后修改者: admin  2024-01-15 00:26:48 

【单独页面】数字币充值提交

编号  :  123131

POST - api/recharge/digital_recharge
请求参数
参数名 参数类型 必传 缺省值 描述
price string Y
金额美元
img_url string Y
图片地址
mobile string Y
手机号
email string N
邮箱
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2024-01-15 00:14:53 

【单独页面】数字钱包地址

编号  :  131231

GET - api/wallet_address
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "type": "ERC20",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf9yuygdW7Rt"
        },
        {
            "type": "TRC20",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf5yuygdW7Rt"
        },
        {
            "type": "BTC",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf8yuygdW7Rt"
        }
    ]
}
最后修改者: admin  2024-01-15 00:11:56 

【单独页面】在线充值

编号  :  456456

POST - api/recharge/online_recharge_order
在线支付多语言和app保持一致,手机端和app端自适应
请求参数
参数名 参数类型 必传 缺省值 描述
price string Y
金额美元
mobile string Y
手机号
email string N
邮箱
返回值
{
    "status": 200,
    "msg": "Recharge successful",
    "data": {
        "url": "https://api.star-pay.vip/api/order/jump?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmRlcm51bWJlciI6IlVUMTcwNDkwODMxME9XTFhQIiwiZW50ZXJwcmlzZV9pZCI6N30.uWRfqQ6HGcynOF4WPRKztqQVEhC-GnZopOOpEeAyNd8&language=en"
    },
    "code": "410125"
}
最后修改者: admin  2024-01-14 17:02:15 

【需要token】用户银行卡提现

编号  :  1231231

POST - api/user/withdrawal_bank_card
请求参数
参数名 参数类型 必传 缺省值 描述
name string Y
姓名
bank_card_name string Y
银行名称
bank_card string Y
卡号
price string Y
金额
pay_password string Y
支付密码
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2024-01-13 23:46:58 

【不用token】首页轮播文字

编号  :  131231

GET - api/home_carousel
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "id": 3,
            "name": "Zrb",
            "title": "批款成功(2000$)",
            "mobile": "9018****89899",
            "is_display": 1,
            "sort": 0,
            "add_time": 1704699883,
            "is_del": 0
        },
        {
            "id": 4,
            "name": "wer",
            "title": "批款成功(1000$)",
            "mobile": "9016****89869",
            "is_display": 1,
            "sort": 0,
            "add_time": 1704699883,
            "is_del": 0
        },
        {
            "id": 5,
            "name": "rty",
            "title": "批款成功(5000$)",
            "mobile": "9015****66898",
            "is_display": 1,
            "sort": 0,
            "add_time": 1704699883,
            "is_del": 0
        }
    ]
}
最后修改者: admin  2024-01-14 17:07:23 

【不用token】申请页面输入框提示语

编号  :  1212321

POST - api/apply/prompt
请求参数
参数名 参数类型 必传 缺省值 描述
最后修改者: admin  2024-01-13 19:36:31 

【需要token】申请提交

编号  :  1231312312

POST - api/apply/for_user
请求参数
参数名 参数类型 必传 缺省值 描述
nationality string Y
国籍
name string Y
姓名
photo_url string Y
手持证件照
number string Y
证件号
asset_proof_url string Y
资产证明图片
credit string Y
期望额度
work string Y
工作
income string Y
收入(单位美元)
photo_url_front string Y
证件照正面
photo_url_back string Y
证件照反面
mobile string Y
手机号
email string Y
邮箱
返回值
{
    "status": 200,
    "msg": "success",
    "data": []
}
最后修改者: admin  2024-01-11 20:26:45 

【需要token】在线充值

编号  :  12312321

POST - api/recharge/recharge
请求参数
参数名 参数类型 必传 缺省值 描述
price string Y
金额
price_id string Y
选项ID
返回值
{
    "status": 200,
    "msg": "Recharge successful",
    "data": {
        "url": "https://api.star-pay.vip/api/order/jump?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmRlcm51bWJlciI6IlVUMTcwNDkwODMxME9XTFhQIiwiZW50ZXJwcmlzZV9pZCI6N30.uWRfqQ6HGcynOF4WPRKztqQVEhC-GnZopOOpEeAyNd8&language=en"
    },
    "code": "410125"
}
最后修改者: admin  2024-01-11 16:35:34 

【单独页面】申请页面翻译

编号  :  1231231

POST - api/apply/translate
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "type": "English",
            "title": "DCM credit line application form",
            "name": "Name",
            "number": "Id number",
            "email": "Email",
            "nationality": "Nationality",
            "photo_url": "Identification photo",
            "asset_proof_url": "Asset proof picture",
            "credit": "Expected amount",
            "work": "Job",
            "income": "Income",
            "mobile": "Phone",
            "captcha": "Code",
            "submit": "Confirm submission",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": "Русский язык ",
            "title": " Заявка на получение кредита DCM ",
            "name": "Имя ",
            "number": "Номер документа",
            "email": " Почтовый ящик ",
            "nationality": " Гражданство ",
            "photo_url": "Свидетельство ",
            "asset_proof_url": " Удостоверение активов ",
            "credit": " Ожидаемая сумма ",
            "work": " Работа ",
            "income": " Поступления ",
            "mobile": " Номер телефона ",
            "captcha": " Код проверки ",
            "submit": " Подтверждение представления ",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": "中文",
            "title": "DCM授信额度申请表",
            "name": "姓名",
            "number": "证件号",
            "email": "邮箱",
            "nationality": "国籍",
            "photo_url": "证件照",
            "asset_proof_url": "资产证明",
            "credit": "期望额度",
            "work": "工作",
            "income": "收入",
            "mobile": "手机号",
            "captcha": "验证码",
            "submit": "确认提交",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": "한국",
            "title": "DCM 신용공여 한도 신청서",
            "name": "이름",
            "number": "증명서 번호",
            "email": "메일박스",
            "nationality": "국적",
            "photo_url": "증명사진",
            "asset_proof_url": "자산 증명",
            "credit": "기대 한도",
            "work": "작업",
            "income": "수입",
            "mobile": "핸드폰 번호",
            "captcha": "인증 코드",
            "submit": "제출 확인",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": "日本語",
            "title": "DCM与信限度額申請表",
            "name": "名前",
            "number": "証明書番号",
            "email": "メールボックス",
            "nationality": "国籍",
            "photo_url": "証明書写真",
            "asset_proof_url": "資産証明",
            "credit": "きたいりつ",
            "work": "仕事",
            "income": "収入",
            "mobile": "携帯番号",
            "captcha": "認証コード",
            "submit": "コミットの確認",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": " عرب . ",
            "title": " روسي DCM نموذج طلب خط الائتمان ",
            "name": " الاسم الكامل ",
            "number": " رقم الوثيقة ",
            "email": " صندوق البريد ",
            "nationality": " الجنسية ",
            "photo_url": " شهادة ",
            "asset_proof_url": " إثبات الأصول ",
            "credit": " المبلغ المتوقع ",
            "work": " عمل . ",
            "income": " دخل ",
            "mobile": " رقم الجوال ",
            "captcha": " رمز التحقق ",
            "submit": " تأكيد تقديم ",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        },
        {
            "type": "Türkiye",
            "title": "DCM Kredi Limit Uygulama Şekilleri",
            "name": "isim",
            "number": "Kimlik numarası",
            "email": "posta kutusu",
            "nationality": "ulusal",
            "photo_url": "Kimlik fotoğrafı",
            "asset_proof_url": "Varlık kanıtı",
            "credit": "Beklenmiş miktar",
            "work": "İş",
            "income": "gelir",
            "mobile": "Cep telefonu numarası",
            "captcha": "Kontrol kodu",
            "submit": "Teslim edilmesini doğrula",
            "names": "Please enter your name",
            "numbers": "Please enter your ID number",
            "emails": "Please input your email",
            "nationalitys": "Please select nationality",
            "photo_urls": "Please upload your ID photo",
            "asset_proof_urls": "Please upload your Asset proof picture",
            "credits": "Please enter the desired amount",
            "works": "Please enter job",
            "incomes": "Please enter income($)",
            "mobiles": "Please enter your phone number",
            "residue": "residue",
            "retrieve": "retrieve",
            "submitted": "Submitted successfully"
        }
    ]
}
备注
type是用户选择的语言分类
其他的翻译接口传的有就翻译没有的就直接用英语,默认语言还是英语
这个接完在线充值也接一下
最后修改者: admin  2024-01-02 17:07:47 

【单独页面】申请页面二维码

编号  :  123213123

POST - api/apply/code
请求参数
参数名 参数类型 必传 缺省值 描述
type string Y
打开地址获取
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "name": "customer service",
        "image_url": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/5b64e6584c06020347a5fa58af79d42a.png"
    }
}
最后修改者: admin  2024-01-07 22:02:22 

【单独页面】申请页面

编号  :  879456465

POST - api/apply/for
请求参数
参数名 参数类型 必传 缺省值 描述
nationality string Y
国籍
name string Y
姓名
photo_url string Y
证件照
mobile string Y
手机号
email string N
邮箱
captcha string Y
手机验证码
country_code string Y
国家代码
number string Y
证件号
asset_proof_url string N
资产证明图片
credit string Y
期望额度
work string Y
工作
income string Y
收入(单位美元)
返回值
{
    "status": 200,
    "msg": "success",
    "data": []
}
备注
名称:DCM授信额度申请表
内容:用户提交申请填写表格,页面加一个二维码和二维码名称
提交成功之后给一个成功页面,提示文字:You have successfully submitted!
最后修改者: admin  2023-12-23 16:41:28 

【需要token】代购支付明细列表

编号  :  123123

GET - api/order/buy_order_record
请求参数
参数名 参数类型 必传 缺省值 描述
page string Y
limit string Y
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "list": [
            {
                "id": 35,
                "order_id": "cp257890866734039040",
                "uid": 3,
                "buy_name": "z先生",
                "product_id": "",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "18888888888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "18888.00",
                "paid": 1,
                "pay_time": 1703319346,
                "pay_type": "",
                "add_time": "2023-02-13 17:44",
                "status": 2,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            },
            {
                "id": 1,
                "order_id": "cp257890866734039055",
                "uid": 3,
                "buy_name": "z先生",
                "product_id": "[1,2]",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "188888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "188.00",
                "paid": 1,
                "pay_time": 1703320610,
                "pay_type": "",
                "add_time": "2023-02-13 17:35",
                "status": 2,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            }
        ],
        "time": [
            "2023-02"
        ],
        "count": 2
    }
}
备注
order_id 订单号
user_name 用户昵称
total_price 支付金额
add_time  时间
total_num 产品总数量
pay_time  被代购的时间
product_info 详情时候显示
image 商品图片
store_name 商品名称
price 商品价格
num 商品数量
最后修改者: admin  2023-12-27 12:22:33 

【需要token】代购支付

编号  :  1231231

POST - api/order/buy_order_pay
请求参数
参数名 参数类型 必传 缺省值 描述
id string Y
ID
order_id string Y
订单号
total_price string Y
金额
pay_password string Y
支付密码
pay_mode string Y 1:余额 2:余额+授信额度
支付方式
返回值
{
    "status": 200,
    "msg": "Balance payment successful",
    "data": {
        "status": "SUCCESS",
        "result": []
    },
    "code": "410197"
}
最后修改者: admin  2023-12-22 19:43:15 

【需要token】代付列表

编号  :  7897979

GET - api/order/buy_order_list/0
请求参数
参数名 参数类型 必传 缺省值 描述
page string Y
limit string Y
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "list": [
            {
                "id": 35,
                "order_id": "cp257890866734039040",
                "uid": 0,
                "buy_name": "",
                "product_id": "",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "18888888888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "18888.00",
                "paid": 0,
                "pay_time": 0,
                "pay_type": "",
                "add_time": "2023-02-13 17:44",
                "status": 1,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            },
            {
                "id": 3,
                "order_id": "cp257890866734039059",
                "uid": 0,
                "buy_name": "",
                "product_id": "[1,2]",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "188888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "18888.00",
                "paid": 0,
                "pay_time": 0,
                "pay_type": "",
                "add_time": "2023-02-13 17:44",
                "status": 1,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            },
            {
                "id": 2,
                "order_id": "cp257890866734039065",
                "uid": 0,
                "buy_name": "",
                "product_id": "[1,2]",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "188888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "18888.00",
                "paid": 0,
                "pay_time": 0,
                "pay_type": "",
                "add_time": "2023-02-13 17:53",
                "status": 1,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            },
            {
                "id": 1,
                "order_id": "cp257890866734039055",
                "uid": 0,
                "buy_name": "",
                "product_id": "[1,2]",
                "product_info": [
                    {
                        "id": "1",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/3b570808fc3593aa51b2a94ceaba3e6f.png",
                        "store_name": "Xiaomi Civi 2 冰冰蓝 8GB+128GB",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "1"
                    },
                    {
                        "id": "2",
                        "image": "http://admin.kontion.xyz/uploads/attach/2023/02/20230213/cf5414089d598d064b0a4d7154a4f491.png",
                        "store_name": "BINNIFA客厅音响无线立体环绕K歌观影一体家庭影院Live3D",
                        "store_info": "",
                        "price": "2999",
                        "sort": "0",
                        "num": "2"
                    }
                ],
                "user_name": "张三",
                "user_account": "188888",
                "user_address": "北京",
                "total_num": 2,
                "total_price": "18888.00",
                "paid": 0,
                "pay_time": 0,
                "pay_type": "",
                "add_time": "2023-02-13 17:35",
                "status": 1,
                "mark": "",
                "is_del": 0,
                "time_key": "2023-02",
                "time": "2023-02"
            }
        ],
        "time": [
            "2023-02"
        ],
        "count": 4
    }
}
备注
请求地址0代表全部 1:已支付 2:已完成
order_id 订单号
user_name 用户昵称
status  1:已支付 2:已完成
total_price 支付金额
add_time  时间
total_num 产品总数量
pay_time  被代购的时间
product_info 详情时候显示
image 商品图片
store_name 商品名称
price 商品价格
num 商品数量
最后修改者: admin  2023-12-19 20:44:51 

【需要token】用户提现记录

编号  :  214234324

GET - api/user/withdrawal_commission
请求参数
参数名 参数类型 必传 缺省值 描述
page string Y
limit string Y
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "list": [
            {
                "id": 4,
                "uid": 3,
                "address": "12312321",
                "address_type": "USDT",
                "extract_price": "100.00",
                "extract_fee": "30.00",
                "mark": "",
                "balance": "87642.00",
                "fail_msg": "",
                "fail_time": 0,
                "add_time": "2023-12-19 20:37",
                "status": 0,
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 3,
                "uid": 3,
                "address": "12312321",
                "address_type": "USDT",
                "extract_price": "100.00",
                "extract_fee": "30.00",
                "mark": "",
                "balance": "87742.00",
                "fail_msg": "",
                "fail_time": 0,
                "add_time": "2023-12-19 20:28",
                "status": 0,
                "time_key": "2023-12",
                "time": "2023-12"
            }
        ],
        "time": [
            "2023-12"
        ],
        "count": 2
    }
}
备注
status     -1 未通过 0 审核中 1 已提现
extract_price 提现金额
extract_fee   提现手续费
address  提现地址
address_type 提现地址类型
最后修改者: admin  2023-12-19 20:45:42 

【需要token】用户提现地址

编号  :  4645645

GET - api/user/Address
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "type": "USDT",
            "withdrawal_addres": "12344444444444"
        }
    ]
}
备注
type     	提现地址类型
withdrawal_addres  提现地址
最后修改者: admin  2023-12-19 18:31:12 

【需要token】提现申请

编号  :  749789789

POST - api/user/withdrawal
请求参数
参数名 参数类型 必传 缺省值 描述
price string Y
金额
pay_password string Y
支付密码
type string Y
提现地址类型
withdrawal_addres string Y
提现地址
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2023-12-19 18:30:52 

【需要token】提现说明

编号  :  4564564654

GET - api/user/withdrawal_instructions
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "content": "提现说明",
        "min_price": "100",
        "max_price": "10000",
        "commission": "0.3",
        "type": [
            "USDT",
            "BTC"
        ]
    }
}
备注
content  提现说明
min_price  提现最低金额
max_price  提现最高金额
commission  提现手续费比例
type     	提现地址类型
最后修改者: admin  2023-12-19 18:29:45 

【需要token】设置提现地址

编号  :  54645645

POST - api/user/withdrawal_address
请求参数
参数名 参数类型 必传 缺省值 描述
withdrawal_addres string Y
提现地址
captcha string Y
验证码
type string Y
提现地址类型
返回值
{
    "status": 200,
    "msg": "success"
}
备注
提现地址设置完成不能修改
提现地址类型在提现说明接口有返回
最后修改者: admin  2023-12-19 07:00:23 

【需要token】设置/修改支付密码

编号  :  5434534534

POST - api/user/pay_password
请求参数
参数名 参数类型 必传 缺省值 描述
pay_password string Y
支付密码
confirm_pay_password string Y
确认支付密码
captcha string Y
验证码
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2023-12-18 03:24:32 

【需要token】用户充值审核记录

编号  :  123412312

GET - api/recharge_offline/recharge_review
请求参数
参数名 参数类型 必传 缺省值 描述
page string Y
limit string Y
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "list": [
            {
                "id": 13,
                "uid": 3,
                "img_url": "https://admin.kontion.xyz/uploads/store/comment/20231216/82455d9f7070bf6e9fd14ef43973ef7b.jpg",
                "price": "100.00",
                "paid": 0,
                "pay_time": 1702731610,
                "add_time": "2023-12-16 21:00",
                "channel_type": "",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 12,
                "uid": 3,
                "img_url": "https://admin.kontion.xyz/uploads/store/comment/20231216/2b534b3d2fbd39cded005ff23b2c5977.jpeg",
                "price": "222.00",
                "paid": 0,
                "pay_time": 1702690041,
                "add_time": "2023-12-16 09:27",
                "channel_type": "",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 11,
                "uid": 3,
                "img_url": "https://admin.kontion.xyz/uploads/store/comment/20231216/1c1cb5fec047b45ff4d4649526580f59.jpeg",
                "price": "222.00",
                "paid": 0,
                "pay_time": 1702689823,
                "add_time": "2023-12-16 09:23",
                "channel_type": "",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 10,
                "uid": 3,
                "img_url": "https://admin.kontion.xyz/uploads/store/comment/20231214/4e7bdf2c4f06c7a0d6bb0a32fb86599f.png",
                "price": "1000.00",
                "paid": 0,
                "pay_time": 1702618743,
                "add_time": "2023-12-15 13:39",
                "channel_type": "",
                "time_key": "2023-12",
                "time": "2023-12"
            }
        ],
        "time": [
            "2023-12"
        ],
        "count": 4
    }
}
备注
paid 是否审核 0未审核 1成功 2失败
最后修改者: admin  2023-12-27 12:37:19 

【需要token】余额支付

编号  :  898964564

POST - api/order/pay
请求参数
参数名 参数类型 必传 缺省值 描述
uni string Y
订单号
paytype string Y
yue
pay_password string Y
支付密码
pay_mode string Y 1:余额 2:余额+授信额度
支付方式
返回值
{
    "status": 200,
    "msg": "余额支付成功",
    "data": {
        "status": "SUCCESS",
        "result": []
    },
    "code": "410197"
}
最后修改者: admin  2023-12-15 17:57:18 

【需要token】授信额度记录

编号  :  12312312321

GET - api/credit/credit_commission/2?page=1&limit=20
请求参数
参数名 参数类型 必传 缺省值 描述
page string Y
limit string Y
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "list": [
            {
                "id": 5,
                "uid": 3,
                "link_id": "7",
                "type": "pay_product",
                "title": "支付购买商品",
                "number": "269.00",
                "balance": "97542.00",
                "pm": 0,
                "mark": "余额支付269.00元购买商品",
                "status": 1,
                "add_time": "2023-12-14 18:21",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 4,
                "uid": 3,
                "link_id": "6",
                "type": "pay_product",
                "title": "支付购买商品",
                "number": "2299.00",
                "balance": "97811.00",
                "pm": 0,
                "mark": "余额支付2299.00元购买商品",
                "status": 1,
                "add_time": "2023-12-14 17:44",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 3,
                "uid": 3,
                "link_id": "1",
                "type": "system_add",
                "title": "系统增加额度",
                "number": "10.00",
                "balance": "100110.00",
                "pm": 1,
                "mark": "系统增加10余额",
                "status": 1,
                "add_time": "2023-12-13 21:29",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 2,
                "uid": 3,
                "link_id": "1",
                "type": "system_add",
                "title": "系统增加额度",
                "number": "100000.00",
                "balance": "100100.00",
                "pm": 1,
                "mark": "系统增加100000余额",
                "status": 1,
                "add_time": "2023-12-13 15:46",
                "time_key": "2023-12",
                "time": "2023-12"
            },
            {
                "id": 1,
                "uid": 3,
                "link_id": "1",
                "type": "system_add",
                "title": "系统增加额度",
                "number": "100.00",
                "balance": "100.00",
                "pm": 1,
                "mark": "系统增加100余额",
                "status": 1,
                "add_time": "2023-12-13 15:46",
                "time_key": "2023-12",
                "time": "2023-12"
            }
        ],
        "time": [
            "2023-12"
        ],
        "count": 5
    }
}
备注
pm:0 = 支出 1 = 获得
balance:剩余额度
number:使用或者获取额度
最后修改者: admin  2023-12-15 13:16:23 

【需要token】用户充值提交

编号  :  s00002

POST - api/recharge_offline/recharge
请求参数
参数名 参数类型 必传 缺省值 描述
price int Y
金额
img_url Sting Y
图片地址
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2023-12-14 23:07:35 

【不用token】上传图片

编号  :  s00001

POST - /api/upload/image
请求参数
参数名 参数类型 必传 缺省值 描述
file file Y
返回值
{
    "status": 200,
    "msg": "图片上传成功",
    "data": {
        "name": "4e7bdf2c4f06c7a0d6bb0a32fb86599f.png",
        "url": "https://admin.kontion.xyz/uploads/store/comment/20231214/4e7bdf2c4f06c7a0d6bb0a32fb86599f.png"
    },
    "code": "100009"
}
最后修改者: admin  2023-12-13 23:57:26 

【不用token】钱包地址

编号  :  978678978

GET - api/wallet_address
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "type": "ERC20",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf9yuygdW7Rt"
        },
        {
            "type": "TRC20",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf5yuygdW7Rt"
        },
        {
            "type": "BTC",
            "wallet_address": "DTWdMqLqRRphLgDueZcdHCdf8yuygdW7Rt"
        }
    ]
}
最后修改者: admin  2023-12-13 23:19:09 

【不用token】注册

编号  :  78987978

POST - api/register
请求参数
参数名 参数类型 必传 缺省值 描述
account string Y
邮箱或者手机号
password string Y
密码
confirm_password string Y
确认密码
captcha string Y
验证码
type string Y 1:手机号 2:邮箱
类型
referral_code string N
推荐码
country_code string N
国家代码
name string Y
姓名
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJkNDFkOGNkOThmMDBiMjA0ZTk4MDA5OThlY2Y4NDI3ZSIsImlzcyI6ImFkbWluLmtvbnRpb24ueHl6IiwiYXVkIjoiYWRtaW4ua29udGlvbi54eXoiLCJpYXQiOjE3MDI0Nzk1NTksIm5iZiI6MTcwMjQ3OTU1OSwiZXhwIjoxNzA1MDcxNTU5LCJqdGkiOnsiaWQiOjMsInR5cGUiOiJhcGkifX0.QQtGDsrBw-pERQ2emUtOMRI1mYubGWMCoir73n2e5hs",
        "expires_time": 1705071559
    }
}
备注
国家代码手机号注册必须传
最后修改者: admin  2023-12-13 23:18:38 

【不用token】发送邮箱验证码

编号  :  897897897

POST - api/send_email_code
请求参数
参数名 参数类型 必传 缺省值 描述
email string Y
邮箱
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2023-12-13 23:18:33 

【不用token】发送短信验证码

编号  :  985566899

POST - api/register/verify
请求参数
参数名 参数类型 必传 缺省值 描述
country_code string Y +86
国家代码
phone string Y 18888888888
手机号
返回值
{
    "status": 200,
    "msg": "success"
}
最后修改者: admin  2023-12-13 23:18:26 

【不用token】获取国家手机号编号

编号  :  4564564564

GET - api/country
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "name": "China",
            "country_code": "+86"
        },
        {
            "name": "Andorra",
            "country_code": "+376"
        },
        {
            "name": "Japan",
            "country_code": "+81"
        }
    ]
}
最后修改者: admin  2024-01-30 11:19:37 

【需要token】获取用户信息

编号  :  00000222

GET - api/user
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "status": 200,
    "msg": "success",
    "data": {
        "uid": 3,
        "account_type": 1,
        "email": "",
        "country_code": "+86",
        "phone": "18888888888",
        "paywd": "",
        "withdrawal_addres": "",
        "real_name": "z先生",
        "admin_users_id": 0,
        "birthday": 1702396800,
        "card_id": "",
        "mark": "",
        "partner_id": 0,
        "group_id": 0,
        "nickname": "z先生",
        "avatar": "https://admin.kontion.xyz/uploads/attach/2023/12/20231212/dd2db03575675597212e05e8845f452c.jpg",
        "add_time": 1702449487,
        "last_time": 1702839044,
        "now_money": "87881.00",
        "credit_money": "20.00",
        "credit_pay": "30.00",
        "brokerage_price": "0.00",
        "integral": 4788,
        "exp": "0.00",
        "sign_num": 0,
        "sign_remind": 0,
        "status": 1,
        "level": 0,
        "agent_level": 0,
        "spread_open": 0,
        "spread_uid": 0,
        "spread_time": 0,
        "user_type": "h5",
        "is_promoter": 0,
        "pay_count": 21,
        "spread_count": 0,
        "addres": "",
        "adminid": false,
        "login_type": "",
        "record_phone": "0",
        "is_money_level": 0,
        "is_ever_level": 0,
        "overdue_time": 0,
        "uniqid": "",
        "division_type": 0,
        "division_status": 0,
        "is_division": 0,
        "is_agent": 0,
        "is_staff": 0,
        "division_id": 0,
        "agent_id": 0,
        "staff_id": 0,
        "division_percent": 0,
        "division_change_time": 0,
        "division_end_time": 0,
        "division_invite": 0,
        "is_del": 0,
        "is_open_member": true,
        "agent_level_name": "",
        "is_complete": 0,
        "couponCount": 3,
        "like": 0,
        "orderStatusNum": {
            "order_count": "22",
            "sum_price": "13439",
            "unpaid_count": "1",
            "unshipped_count": "19",
            "received_count": "0",
            "evaluated_count": "2",
            "complete_count": "0",
            "refunding_count": "0",
            "no_refund_count": "0",
            "refunded_count": "0",
            "refund_count": "0",
            "yue_pay_status": 2,
            "pc_order_count": 22,
            "pay_weixin_open": true,
            "ali_pay_status": true,
            "friend_pay_status": 0
        },
        "notice": 0,
        "recharge": 100120,
        "orderStatusSum": "12239.00",
        "extractTotalPrice": 0,
        "extractPrice": "0.00",
        "statu": 2,
        "promoter_price": "-13339.00",
        "broken_commission": 0,
        "commissionCount": "0.00",
        "vip": false,
        "yesterDay": 0,
        "recharge_switch": 0,
        "switchUserInfo": [
            {
                "uid": 3,
                "account_type": 1,
                "email": "",
                "country_code": "+86",
                "phone": "18888888888",
                "paywd": "",
                "withdrawal_addres": "",
                "real_name": "z先生",
                "admin_users_id": 0,
                "birthday": 1702396800,
                "card_id": "",
                "mark": "",
                "partner_id": 0,
                "group_id": 0,
                "nickname": "z先生",
                "avatar": "https://admin.kontion.xyz/uploads/attach/2023/12/20231212/dd2db03575675597212e05e8845f452c.jpg",
                "add_time": 1702449487,
                "last_time": 1702839044,
                "now_money": "87881.00",
                "credit_money": "20.00",
                "credit_pay": "30.00",
                "brokerage_price": "0.00",
                "integral": 4788,
                "exp": "0.00",
                "sign_num": 0,
                "sign_remind": 0,
                "status": 1,
                "level": 0,
                "agent_level": 0,
                "spread_open": 0,
                "spread_uid": 0,
                "spread_time": 0,
                "user_type": "h5",
                "is_promoter": 0,
                "pay_count": 21,
                "spread_count": 0,
                "addres": "",
                "adminid": 0,
                "login_type": "",
                "record_phone": "0",
                "is_money_level": 0,
                "is_ever_level": 0,
                "overdue_time": 0,
                "uniqid": "",
                "division_type": 0,
                "division_status": 0,
                "is_division": 0,
                "is_agent": 0,
                "is_staff": 0,
                "division_id": 0,
                "agent_id": 0,
                "staff_id": 0,
                "division_percent": 0,
                "division_change_time": 0,
                "division_end_time": 0,
                "division_invite": 0,
                "is_del": 0
            }
        ],
        "broken_day": 0,
        "balance_func_status": 1,
        "invioce_func": false,
        "special_invoice": false,
        "collectCount": 0,
        "spread_status": false,
        "pay_vip_status": false,
        "member_style": 2,
        "vip_status": 2,
        "svip_open": true,
        "service_num": 19,
        "spread_level_count": 0,
        "extract_type": [
            "0",
            "1",
            "2"
        ],
        "is_agent_level": 0,
        "division_open": 0,
        "agent_apply_open": 0,
        "is_default_avatar": 1
    }
}
备注
credit_money 授信额度
credit_pay      授信比例
now_money    余额
account_type 用户类型 1代表手机用户 2代表邮箱用户
paywd  支付密码 有值代表设置过 
withdrawal_addres  提币地址 有值代表设置过
credit_money_sum 授信额度已经使用额度--总的已经使用额度
credit_money_repayment   待还的授信额度
freeze_time      余额使用时间,根据这个时间判断用户是否可以使用余额,在时间范围外给一个倒计时多久可以使用。其实就是余额被冻结的意思
最后修改者: admin  2023-12-13 23:18:00 

【不用token】登录

编号  :  000001

POST - api/login
请求参数
参数名 参数类型 必传 缺省值 描述
account string Y
账户
password string Y
密码
返回值
{
    "status": 200,
    "msg": "登录成功",
    "data": {
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJkNDFkOGNkOThmMDBiMjA0ZTk4MDA5OThlY2Y4NDI3ZSIsImlzcyI6ImFkbWluLmtvbnRpb24ueHl6IiwiYXVkIjoiYWRtaW4ua29udGlvbi54eXoiLCJpYXQiOjE3MDI0NTgwMjMsIm5iZiI6MTcwMjQ1ODAyMywiZXhwIjoxNzA1MDUwMDIzLCJqdGkiOnsiaWQiOjMsInR5cGUiOiJhcGkifX0.L_6YHRAazUnYjJGvTg8fYqGx1OMlVZFJOgaKLMpUkGE",
        "expires_time": 1705050023
    },
    "code": "410001"
}