Home - 动态朋友圈 登录  
最后修改者: root  2020-07-22 09:17:36 

iOS App Store虚拟商品内支付 新的根据userid 查订单编号

编号  :  10

POST - api.php?c=fell&a=getreceiptdata_2
请求参数
参数名 参数类型 必传 缺省值 描述
strReceipt int Y 苹果域的数据凭证
transaction_id varchar Y 苹果预支付id
userid int Y 下单编号
返回值
{
  "status": 0,
  "environment": "Sandbox",
  "receipt": {
    "receipt_type": "ProductionSandbox",
    "adam_id": 0,
    "app_item_id": 0,
    "bundle_id": "com.zykj.HunqianshiaiN",
    "application_version": "1.0.2",
    "download_id": 0,
    "version_external_identifier": 0,
    "receipt_creation_date": "2018-02-07 09:21:10 Etc/GMT",
    "receipt_creation_date_ms": "1517995270000",
    "receipt_creation_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
    "request_date": "2018-02-07 10:06:39 Etc/GMT",
    "request_date_ms": "1517997999078",
    "request_date_pst": "2018-02-07 02:06:39 America/Los_Angeles",
    "original_purchase_date": "2013-08-01 07:00:00 Etc/GMT",
    "original_purchase_date_ms": "1375340400000",
    "original_purchase_date_pst": "2013-08-01 00:00:00 America/Los_Angeles",
    "original_application_version": "1.0",
    "in_app": [
      {
        "quantity": "1",
        "product_id": "associator1",
        "transaction_id": "1000000373929917",
        "original_transaction_id": "1000000373929917",
        "purchase_date": "2018-02-07 07:58:47 Etc/GMT",
        "purchase_date_ms": "1517990327000",
        "purchase_date_pst": "2018-02-06 23:58:47 America/Los_Angeles",
        "original_purchase_date": "2018-02-07 07:58:47 Etc/GMT",
        "original_purchase_date_ms": "1517990327000",
        "original_purchase_date_pst": "2018-02-06 23:58:47 America/Los_Angeles",
        "is_trial_period": "false"
      },
      {
        "quantity": "1",
        "product_id": "associator_1",
        "transaction_id": "1000000373964644",
        "original_transaction_id": "1000000373964644",
        "purchase_date": "2018-02-07 09:21:10 Etc/GMT",
        "purchase_date_ms": "1517995270000",
        "purchase_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
        "original_purchase_date": "2018-02-07 09:21:10 Etc/GMT",
        "original_purchase_date_ms": "1517995270000",
        "original_purchase_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
        "is_trial_period": "false"
      }
    ]
  }
}
最后修改者: root  2019-03-29 16:49:30 

删除自己的红点

编号  :  10

POST - api.php?c=fell&a=del_user_red
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
    "code": 200,
    "message": "删除成功",
    "data": []
}
最后修改者: root  2019-03-29 14:39:50 

是否系统消息红点

编号  :  10

POST - api.php?c=fell&a=is_user_red
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
    "code": 200,
    "message": "有红点",
    "data": []
}
最后修改者: root  2018-04-25 14:22:54 

是否为人脸

编号  :  10

POST - api.php?c=fell&a=Face
请求参数
参数名 参数类型 必传 缺省值 描述
url varchar Y 人脸路径
返回值
{
  "code": 400,
  "message": "别开玩笑了,恋爱是认真的,请拍摄正确的人脸进行匹配",
  "data": []
}
最后修改者: root  2018-03-21 11:01:44 

更新经纬度

编号  :  10

POST - api.php?c=fell&a=update_lat
请求参数
参数名 参数类型 必传 缺省值 描述
userid int Y
lat varchar Y
lng varchar Y
返回值
{
  "code": 200,
  "message": "更新成功",
  "data": []
}
最后修改者: root  2018-02-08 08:59:19 

iOS App Store虚拟商品内支付

编号  :  10

POST - api.php?c=fell&a=getreceiptdata
请求参数
参数名 参数类型 必传 缺省值 描述
strReceipt int Y 苹果域的数据凭证
transaction_id varchar Y 苹果预支付id
order_id int Y 自己的订单编号(长的那个字符串)
返回值
{
  "status": 0,
  "environment": "Sandbox",
  "receipt": {
    "receipt_type": "ProductionSandbox",
    "adam_id": 0,
    "app_item_id": 0,
    "bundle_id": "com.zykj.HunqianshiaiN",
    "application_version": "1.0.2",
    "download_id": 0,
    "version_external_identifier": 0,
    "receipt_creation_date": "2018-02-07 09:21:10 Etc/GMT",
    "receipt_creation_date_ms": "1517995270000",
    "receipt_creation_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
    "request_date": "2018-02-07 10:06:39 Etc/GMT",
    "request_date_ms": "1517997999078",
    "request_date_pst": "2018-02-07 02:06:39 America/Los_Angeles",
    "original_purchase_date": "2013-08-01 07:00:00 Etc/GMT",
    "original_purchase_date_ms": "1375340400000",
    "original_purchase_date_pst": "2013-08-01 00:00:00 America/Los_Angeles",
    "original_application_version": "1.0",
    "in_app": [
      {
        "quantity": "1",
        "product_id": "associator1",
        "transaction_id": "1000000373929917",
        "original_transaction_id": "1000000373929917",
        "purchase_date": "2018-02-07 07:58:47 Etc/GMT",
        "purchase_date_ms": "1517990327000",
        "purchase_date_pst": "2018-02-06 23:58:47 America/Los_Angeles",
        "original_purchase_date": "2018-02-07 07:58:47 Etc/GMT",
        "original_purchase_date_ms": "1517990327000",
        "original_purchase_date_pst": "2018-02-06 23:58:47 America/Los_Angeles",
        "is_trial_period": "false"
      },
      {
        "quantity": "1",
        "product_id": "associator_1",
        "transaction_id": "1000000373964644",
        "original_transaction_id": "1000000373964644",
        "purchase_date": "2018-02-07 09:21:10 Etc/GMT",
        "purchase_date_ms": "1517995270000",
        "purchase_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
        "original_purchase_date": "2018-02-07 09:21:10 Etc/GMT",
        "original_purchase_date_ms": "1517995270000",
        "original_purchase_date_pst": "2018-02-07 01:21:10 America/Los_Angeles",
        "is_trial_period": "false"
      }
    ]
  }
}
最后修改者: root  2018-01-25 17:50:33 

帮我约她

编号  :  10

POST - api.php?c=friends&a=yue_ta
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y 自己的编号
other_id int Y 那人id
返回值
{
  "code": 201,
  "message": "已经约过一次",
  "data": []
}
最后修改者: root  2018-01-25 16:00:02 

让看不让看

编号  :  10

POST - api.php?c=friends&a=limit_see
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y 看的那人id
other_id int Y 自己的编号
type int Y 0不让看;1让看
返回值
{
  "code": 200,
  "message": "加入了该用户的在线提醒",
  "data": []
}
最后修改者: root  2018-01-25 11:34:39 

删除动态

编号  :  10

POST - api.php?c=Friends&a=del_user_friends
动态作者回复评论人
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friend_id varchar Y 动态编号
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2018-01-25 20:50:48 

资讯回复评论人

编号  :  10

POST - api.php?c=Fell&a=comment2
动态作者回复评论人
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
act_id varchar Y 动态编号
content varchar Y
other_id varchar Y 评论者编号
comment_id int Y 论者编号
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2018-01-24 17:06:18 

评论资讯

编号  :  10

POST - api.php?c=fell&a=comment
其他人评论这条动态
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
act_id varchar Y 资讯编号
content varchar Y
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2018-01-23 13:28:14 

清空自己的推送

编号  :  10

POST - api.php?c=Friends&a=del_push_user
其他人评论这条动态
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2018-01-20 17:13:50 

删除评论

编号  :  10

POST - api.php?c=Friends&a=del_comment
其他人评论这条动态
请求参数
参数名 参数类型 必传 缺省值 描述
comment_id varchar Y
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2018-01-20 10:54:41 

朋友圈详情

编号  :  10

POST - api.php?c=friends&a=friends_details
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friends_id int Y 取消的那个用户编号
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "username": "qsqs",
      "headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
      "areaid": "371311",
      "sex": "男",
      "id": "12",
      "userid": "2194",
      "content": "222",
      "img": [
        "22",
        "rerer",
        "rerer"
      ],
      "is_play": "",
      "addtime": "1511224307",
      "address": "",
      "is_see": "4",
      "zan": "1",
      "height": "1",
      "age": "8",
      "addtime2": "2017年11月21日 08时31分47秒",
      "addtime3": "11月21日",
      "self_zan": "0",
      "arename": "山东省-临沂市-市辖区",
      "comment": [
        {
          "id": "4",
          "friend_id": "12",
          "userid": "2196",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:35",
          "is_only": "1",
          "other_id": "2194",
          "username": "qsqsqsqs",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "5",
          "friend_id": "12",
          "userid": "2197",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:35",
          "is_only": "1",
          "other_id": "2194",
          "username": "1510373090",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "6",
          "friend_id": "12",
          "userid": "2195",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "sqsqs",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "7",
          "friend_id": "12",
          "userid": "2195",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "sqsqs",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "8",
          "friend_id": "12",
          "userid": "2196",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "qsqsqsqs",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "9",
          "friend_id": "12",
          "userid": "2197",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "1510373090",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "13",
          "friend_id": "12",
          "userid": "2194",
          "content": "222222222222",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "qsqs",
          "user_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        },
        {
          "id": "16",
          "friend_id": "12",
          "userid": "2195",
          "content": "",
          "addtime": "2018-01-18 17:23:36",
          "is_only": "1",
          "other_id": "2194",
          "username": "sqsqs",
          "user_headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
          "other_headpic": "http://47.104.91.22/Public/Uploads/allimg/2018/01/03/5a4c4272ea485.jpeg",
          "other_username": "qsqs"
        }
      ]
    }
  ]
}
最后修改者: root  2018-01-25 16:00:39 

不让显示

编号  :  10

POST - api.php?c=friends&a=limit_see
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y 自己编号
other_id int Y 别人的编号
type int Y 0不现实;1显示
返回值
{
  "code": 200,
  "message": "加入了该用户的在线提醒",
  "data": []
}
最后修改者: root  2018-01-16 18:01:01 

取消上线提醒

编号  :  10

POST - api.php?c=friends&a=del_user_xian
先调用是否开通了上线用户
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
other_id int Y 取消的那个用户编号
返回值
{
  "code": 200,
  "message": "加入了该用户的在线提醒",
  "data": []
}
最后修改者: root  2017-11-24 20:31:14 

查询推送给自己的系统消息

编号  :  10

POST - api.php?c=Friends&a=system_push
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
  "code": 400,
  "message": "没有数据",
  "data": []
}
最后修改者: root  2018-01-23 11:06:26 

查询推送给自己的信息

编号  :  10

POST - api.php?c=Friends&a=user_push
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
page int Y 当前页1
size int Y 条数
返回值
{
  "code": 200,
  "message": "查询成功",
  "data": [
    {
      "id": "14",
      "title": "有人来点赞了",
      "thumb": null,
      "catogry": "3",
      "content": "有人来点赞了",
      "userid": "2195",
      "writer": null,
      "time": "1511515750",
      "remark": "有人来点赞了",
      "other_id": "2194",
      "username": "sqsqs",
      "other_username": "qsqs",
      "headpic": "sqsqs",
      "other_headpic": "qsqs"
    },
    {
      "id": "15",
      "title": "有人评论了你的动态,快看看",
      "thumb": null,
      "catogry": "3",
      "content": "有人评论了你的动态,快看看",
      "userid": "2195",
      "writer": null,
      "time": "1511516002",
      "remark": "有人评论了你的动态,快看看",
      "other_id": "2194",
      "username": "sqsqs",
      "other_username": "qsqs",
      "headpic": "sqsqs",
      "other_headpic": "qsqs"
    }
  ]
}
最后修改者: root  2017-11-24 16:10:02 

查询给自己自己评论列表

编号  :  10

POST - api.php?c=Friends&a=sel_friends_list_c
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friends_id varchar N 动态编号不穿查所有的动态
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "id": "6",
      "friend_id": "12",
      "userid": "2195",
      "content": "222222222222",
      "addtime": "1511226369",
      "is_only": "1",
      "other_id": "2194",
      "username": "sqsqs",
      "other_username": "qsqs",
      "username_src": "sqs",
      "other_user_src": "qs"
    },
    {
      "id": "7",
      "friend_id": "12",
      "userid": "2195",
      "content": "222222222222",
      "addtime": "1511226389",
      "is_only": "1",
      "other_id": "2194",
      "username": "sqsqs",
      "other_username": "qsqs",
      "username_src": "sqs",
      "other_user_src": "qs"
    },
    {
      "id": "10",
      "friend_id": "12",
      "userid": "2194",
      "content": "222222222222",
      "addtime": "1511227486",
      "is_only": "1",
      "other_id": "2195",
      "username": "qsqs",
      "other_username": "sqsqs",
      "username_src": "qs",
      "other_user_src": "sqs"
    },
    {
      "id": "12",
      "friend_id": "12",
      "userid": "2194",
      "content": "222222222222",
      "addtime": "1511227539",
      "is_only": "1",
      "other_id": "2195",
      "username": "qsqs",
      "other_username": "sqsqs",
      "username_src": "qs",
      "other_user_src": "sqs"
    },
    {
      "id": "14",
      "friend_id": "17",
      "userid": "2194",
      "content": "222222222222",
      "addtime": "1511227549",
      "is_only": "1",
      "other_id": "2195",
      "username": "qsqs",
      "other_username": "sqsqs",
      "username_src": "qs",
      "other_user_src": "sqs"
    },
    {
      "id": "15",
      "friend_id": "17",
      "userid": "2194",
      "content": "222222222222",
      "addtime": "1511227550",
      "is_only": "1",
      "other_id": "2195",
      "username": "qsqs",
      "other_username": "sqsqs",
      "username_src": "qs",
      "other_user_src": "sqs"
    }
  ]
}
最后修改者: root  2017-11-24 16:29:50 

查询点赞列表

编号  :  10

POST - api.php?c=Friends&a=zan_list_user
请求参数
参数名 参数类型 必传 缺省值 描述
friends_id varchar Y 动态编号
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "id": "2",
      "frident_id": "12",
      "addtime": "1511165110",
      "userid": "2194",
      "type": "2",
      "username": "qsqs",
      "username_src": "qs"
    }
  ]
}
最后修改者: root  2017-11-24 14:31:05 

退出(离线状态),上线

编号  :  10

POST - api.php?c=user&a=changeState
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
type varchar Y 1,在线,2离线
返回值
"code": 200,
  "message": "保存成功",
  "data": {
    "userid": "2194",
    "userphone": "13625391111",
    "userpwd": "3412f4b4a0a423db6adef74625d2706d",
    "regtime": "1510382723",
    "regip": "127.0.0.1",
    "logintime": "0",
    "loginip": "",
    "isauth": "0",
    "iscomplete": "0",
    "isonline": "1",
    "isable": "0",
    "isu": "0",
    "isnotice": "1",
    "isupdate": "1",
    "ma": "1510382723",
    "appid": null,
    "qq_openid": null,
    "wb_openid": null,
    "wx_openid": null,
    "lat": "11",
    "lng": "11",
    "agent": "user",
    "user_name_p": null
  }
}
最后修改者: root  2017-11-24 09:01:48 

脸谱(选择和自己相似度比较高的用户)

编号  :  10

POST - api.php?c=friends&a=identifyUser
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
  "code": 200,
  "message": "查询成功",
  "data": [
    {
      "userid": "2194",
      "username": "qsqs",
      "isvip": false,
      "marrytime": "",
      "isauth": "已认证身份",
      "areaname": "山东省-临沂市-市辖区",
      "age": "",
      "height": "",
      "constellation": "",
      "yearmoney": "",
      "meinfo": "",
      "headpic": "qs",
      "isliker": false,
      "userauth": "已认证-身份",
      "sex": "男",
      "nickname": ""
    }
  ]
}
最后修改者: root  2017-11-24 09:09:04 

查询用户开通在线提醒的列表

编号  :  10

POST - api.php?c=friends&a=open_user_xianList
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
other_id varchar Y
返回值
{
  "code": 200,
  "message": "加入了该用户的在线提醒",
  "data": []
}
最后修改者: root  2017-11-24 09:08:24 

开通某一位用户上线提醒

编号  :  10

POST - api.php?c=friends&a=open_user_xian
先调用是否开通了上线用户
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
other_id varchar Y
返回值
{
  "code": 200,
  "message": "加入了该用户的在线提醒",
  "data": []
}
最后修改者: root  2018-01-19 09:55:26 

是否是开通上线用户

编号  :  10

POST - api.php?c=user&a=islogin_xian
统一查询是否是私人助理;2贵宾助理;3上线提醒 4vip
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
type varchar Y 1私人助理;2贵宾助理;3上线提醒;4vip
返回值
{
  "code": 407,
  "message": "没有加入上线提醒",
  "data": []
}
最后修改者: root  2018-01-16 08:45:10 

查询送给我的礼物

编号  :  10

POST - api.php?c=Friends&a=sel_giveme_gift
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "name": "玫瑰",
      "url": null,
      "g_price": "1.00",
      "id": "43",
      "beizhu": "赠送礼物",
      "order_no": "marry1515998247",
      "type": "3",
      "state": "2",
      "addtime": "2018-01-15 14:37:27",
      "paytime": "2018-01-15 14:37:59",
      "other": "1",
      "userid": "2198",
      "paytype": "2",
      "day": "",
      "num": "1",
      "belong_userid": "2195",
      "price": "0.01",
      "userinfo": {
        "userid": "2195",
        "username": "sqsqs",
        "isvip": false,
        "marrytime": "1992-12-26",
        "isauth": "已认证身份",
        "isonline": "在线",
        "areaname": "中国",
        "age": "8",
        "height": "190",
        "constellation": "狮子座",
        "yearmoney": "1000万元以上",
        "meinfo": "无我打完等",
        "headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
        "sex": "女",
        "nickname": "打完等我",
        "userauth": "已认证-身份"
      }
    }
  ]
}
最后修改者: root  2018-01-16 08:44:58 

查询我送出的礼物

编号  :  10

POST - api.php?c=Friends&a=sel_me_gift
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "name": "玫瑰",
      "url": null,
      "g_price": "1.00",
      "id": "43",
      "beizhu": "赠送礼物",
      "order_no": "marry1515998247",
      "type": "3",
      "state": "2",
      "addtime": "2018-01-15 14:37:27",
      "paytime": "2018-01-15 14:37:59",
      "other": "1",
      "userid": "2198",
      "paytype": "2",
      "day": "",
      "num": "1",
      "belong_userid": "2195",
      "price": "0.01",
      "userinfo": {
        "userid": "2195",
        "username": "sqsqs",
        "isvip": false,
        "marrytime": "1992-12-26",
        "isauth": "已认证身份",
        "isonline": "在线",
        "areaname": "中国",
        "age": "8",
        "height": "190",
        "constellation": "狮子座",
        "yearmoney": "1000万元以上",
        "meinfo": "无我打完等",
        "headpic": "http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWoJkI2fobN6LviboQfOiaekUSWOkgYZSFlrZBXB0wXxM2qvkvLMP9iaMlZ9Uqcng3a6ibhWrLtSJwdQ/0",
        "sex": "女",
        "nickname": "打完等我",
        "userauth": "已认证-身份"
      }
    }
  ]
}
最后修改者: root  2017-11-22 10:24:21 

支付(认证礼物会员等支付宝微信)

编号  :  10

POST - api.php?c=user&a=order
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
paytype varchar Y 1 支付宝、2微信、3余额;
type varchar Y 1认证费;2加入h或延期会员;3购买礼物;4充值,5加入或延期婚恋助理,6加入或延期贵宾婚恋助理, 7参加活动,8上线提醒
beizhu varchar Y 缴纳认证费50元(充值40元)
price varchar Y 总价格
day varchar N 天数。vip和助理,和上线提醒的天数
other_id varchar N 报名成功的id或是礼物编号
num varchar N 礼物个数
other_userid varchar N 送给的对象编号
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": {
    "appid": "wxce9f4ea84dc92928",
    "noncestr": "468a97a29a0ce1f201dbc960a5b0a9f8",
    "package": "Sign=WXPay",
    "partnerid": "1487000382",
    "prepayid": "",
    "timestamp": 1510625237,
    "sign": "88B9830D4CB2062AC6F4C31FF7B689C5"
  }
}


{
  "code": 200,
  "message": "获取成功",
  "data": "app_id=2017092208873408&biz_content=%7B%22body%22%3A%2211111111111%22%2C%22subject%22%3A+%2211111111111%22%2C%22out_trade_no%22%3A+%220%22%2C%22timeout_express%22%3A+%2230m%22%2C%22total_amount%22%3A+%22%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F60.205.223.159%2Fapi.php%2FAlipay%2Fnotify&sign_type=RSA2&timestamp=2017-11-14+10%3A07%3A35&version=1.0&sign=dnpmSS7MWVuq5aD7mUV3skPq39%2FbSBGlzAD4tVP3V9v0NY6UsTPIK4ZatWzloc8VPh80MF2J%2BZExNtVcTPZhZjRZjNEbs0U2Dvilo7Mix2aN8OamGtUY2xoDS1FA8NgZptWEV1jQY8vJQxmg5SjuklgTHZCUPwpbnSKnsuWbnjUkCXDApE8l%2F%2BjkPmgLyO6EZhlGBR4%2FEtxU0vHApX5JPALgFuZYvkCq2T%2FYdo2T9s4NDuP0Zo%2F0zHJynxdrMouNvfQGQNjO%2B5qWcvkj%2BTDiUeyKk%2Bolc24axhc0oo%2FkjFwyXOWYOCcyRS0SUis5v9Bivcd5tBah7Wh2gFbAbxjurA%3D%3D"
}
最后修改者: root  2017-11-22 09:45:39 

获取礼物价格

编号  :  10

POST - api.php?c=Friends&a=gift_price
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "id": "1",
      "name": "玫瑰",
      "price": "1.00",
      "addtime": "2017-11-22 09:36:26",
      "url": null
    },
    {
      "id": "2",
      "name": "双人床",
      "price": "5.00",
      "addtime": "2017-11-22 09:38:36",
      "url": null
    },
    {
      "id": "3",
      "name": "钻戒",
      "price": "10.00",
      "addtime": "2017-11-22 09:38:40",
      "url": null
    },
    {
      "id": "4",
      "name": "超级跑车",
      "price": "30.00",
      "addtime": "2017-11-22 09:38:43",
      "url": null
    },
    {
      "id": "5",
      "name": "游艇",
      "price": "50.00",
      "addtime": "2017-11-22 09:38:47",
      "url": null
    },
    {
      "id": "6",
      "name": "别墅",
      "price": "100.00",
      "addtime": "2017-11-22 09:38:50",
      "url": null
    }
  ]
}
最后修改者: root  2018-01-18 14:36:09 

举报动态

编号  :  9

POST - api.php?c=Friends&a=report_friendts
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friend_id varchar Y 动态编号
content varchar Y
other_id varchar Y 投诉的用户编号
img varchar Y 图片
title varchar Y 标题,汉字
返回值
{
  "code": 200,
  "message": "投诉成功",
  "data": []
}
最后修改者: root  2018-01-18 13:57:32 

查询所有符合条件的动态列表

编号  :  7

POST - api.php?c=Friends&a=sel_fridends2
查询所有符合条件的动态列表默认city,me,other传0,或者不给参数
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
city varchar N 1同城;不选择传0或不写参数
me varchar N 1,我心动的用户;不选择传0,或不写参数
other varchar N 1对我心动的用户;不选择传0或不写参数
page int Y 1就开始
size int Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    { 
      "username": "qsqs",
      "headpic": "qs",
      "areaid": "371311",
      "sex": "男",
      "id": "12",
      "userid": "2194",
      "content": "222",
      "img": [
        "22",
        "rerer",
        "rerer"
      ],
      "is_play": "",
      "addtime": "1511224307",
      "address": "",
      "is_see": "4",
      "zan": "0",
      "time_befor": "6小时前",
      "comment": [
        {
          "id": "6",
          "friend_id": "12",
          "userid": "2195",
          "content": "222222222222",
          "addtime": "1511226369",
          "is_only": "1",
          "other_id": "2194",
          "username": "sqsqs",
          "other_username": "qsqs"
        },
        {
          "id": "7",
          "friend_id": "12",
          "userid": "2195",
          "content": "222222222222",
          "addtime": "1511226389",
          "is_only": "1",
          "other_id": "2194",
          "username": "sqsqs",
          "other_username": "qsqs"
        },
        {
          "id": "10",
          "friend_id": "12",
          "userid": "2194",
          "content": "222222222222",
          "addtime": "1511227486",
          "is_only": "1",
          "other_id": "2195",
          "username": "qsqs",
          "other_username": "sqsqs"
        },
        {
          "id": "12",
          "friend_id": "12",
          "userid": "2194",
          "content": "222222222222",
          "addtime": "1511227539",
          "is_only": "1",
          "other_id": "2195",
          "username": "qsqs",
          "other_username": "sqsqs"
        }
      ]
    },
    {
      "username": "qsqs",
      "headpic": "qs",
      "areaid": "371311",
      "sex": "男",
      "id": "13",
      "userid": "2194",
      "content": "",
      "img": [
        "22"
      ],
      "is_play": "",
      "addtime": "1511246734",
      "address": "",
      "is_see": "",
      "zan": "0",
      "time_befor": "37分钟前",
      "comment": []
    },
    {
      "username": "qsqs",
      "headpic": "qs",
      "areaid": "371311",
      "sex": "男",
      "id": "14",
      "userid": "2194",
      "content": "2",
      "img": [
        "22",
        "jrfeujrje",
        "hrehjr"
      ],
      "is_play": "1",
      "addtime": "1511242000",
      "address": "",
      "is_see": "1",
      "zan": "0",
      "time_befor": "1小时前",
      "comment": []
    },
    {
      "username": "qsqsqsqs",
      "headpic": "sqsqs",
      "areaid": "0",
      "sex": "女",
      "id": "15",
      "userid": "2196",
      "content": "22222222222",
      "img": [
        "22",
        "30489403",
        "8089"
      ],
      "is_play": "1",
      "addtime": "1511243734",
      "address": null,
      "is_see": "1",
      "zan": "0",
      "time_befor": "1小时前",
      "comment": []
    },
    {
      "username": "1510373090",
      "headpic": "qqqqq",
      "areaid": "0",
      "sex": "女",
      "id": "16",
      "userid": "2197",
      "content": "2",
      "img": [
        "22",
        "ijk",
        "900"
      ],
      "is_play": "1",
      "addtime": "1511241734",
      "address": null,
      "is_see": "1",
      "zan": "0",
      "time_befor": "2小时前",
      "comment": []
    },
    {
      "username": "sqsqs",
      "headpic": "sqs",
      "areaid": "0",
      "sex": "女",
      "id": "17",
      "userid": "2195",
      "content": "2222",
      "img": [
        "22"
      ],
      "is_play": "1",
      "addtime": "1511247734",
      "address": null,
      "is_see": "1",
      "zan": "0",
      "time_befor": "20分钟前",
      "comment": []
    }
  ]
}
最后修改者: root  2017-11-21 09:22:17 

动态作者回复评论人

编号  :  6

POST - api.php?c=Friends&a=comment2
动态作者回复评论人
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friend_id varchar Y 动态编号
content varchar Y
other_id varchar Y 评论者编号
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2017-11-21 09:19:21 

评论动态

编号  :  5

POST - api.php?c=Friends&a=comment
其他人评论这条动态
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
friend_id varchar Y 动态编号
content varchar Y
返回值
{
  "code": 200,
  "message": "评论成功",
  "data": {
    "id": "1",
    "friend_id": "10",
    "userid": "2194",
    "content": "222222222222",
    "addtime": "1511167566",
    "is_only": "1"
  }
}
最后修改者: root  2017-11-20 16:15:14 

查询我是否点赞

编号  :  4

POST - api.php?c=Friends&a=is_zan
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
type varchar Y 1资讯;2动态
other_id varchar Y 资讯编号或是动态编号
返回值
{
  "code": 200,
  "message": "有点赞",
  "data": [
    "state=>1"
  ]
}
最后修改者: root  2017-11-24 16:20:07 

点赞(取消)

编号  :  3

POST - api.php?c=Friends&a=dian_zan
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
type varchar Y 1资讯;2动态
other_id varchar Y 资讯编号或是动态编号
type_c varchar Y 2点赞;1取消
返回值
{
  "code": 200,
  "message": "点赞成功",
  "data": []
}
最后修改者: root  2018-01-18 17:27:18 

我的动态

编号  :  2

POST - api.php?c=Friends&a=me_fridents_f
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
page int Y 1开始
size int Y
返回值
{
  "code": 200,
  "message": "获取成功",
  "data": [
    {
      "username": "sqsqs",
      "headpic": "sqs",
      "areaid": "0",
      "sex": "女",
      "id": "17",
      "userid": "2195",
      "content": "2222",
      "img": [
        "22"
      ],
      "is_play": "1",
      "addtime": "1511247734",
      "address": null,
      "is_see": "1",
      "zan": "0",
      "addtime2": "2017年11月21日 15时02分14秒",
      "comment": [
        {
          "id": "14",
          "friend_id": "17",
          "userid": "2194",
          "content": "222222222222",
          "addtime": "1511227549",
          "is_only": "1",
          "other_id": "2195",
          "username": "qsqs",
          "other_username": "sqsqs"
        },
        {
          "id": "15",
          "friend_id": "17",
          "userid": "2194",
          "content": "222222222222",
          "addtime": "1511227550",
          "is_only": "1",
          "other_id": "2195",
          "username": "qsqs",
          "other_username": "sqsqs"
        }
      ]
    }
  ]
}
最后修改者: root  2017-11-20 11:55:25 

发布朋友圈

编号  :  1

POST - api.php?c=Friends&a=add_friends_me
请求参数
参数名 参数类型 必传 缺省值 描述
userid varchar Y
content varchar Y
img varchar N 图片地址
is_play varchar Y 是否同步到相册1不同步2同步
address varchar N 地址
is_see varchar Y 是否观看权限,1不设权限;2我心动的能看;3对我心动的能看,4异性,5心动我的和我心动的
返回值
{
  "code": 200,
  "message": "保存成功",
  "data": []
}