Commit 354efbc4 by mahaisong

fix:15 国海详细设计

parent cc1684b1
using System; using System;
...@@ -33,10 +33,18 @@ namespace UnitTestProject1 ...@@ -33,10 +33,18 @@ namespace UnitTestProject1
/** /**
* 2: 设定接口参数 * 2: 设定接口参数
*/ */
String cmd = "moni.getStockAction"; //String cmd = "moni.getStockAction";
//JObject parameters = new JObject();
//parameters["username"] = "00000";
//parameters["password"] = "11111";
String cmd = "mallintf.getProdAction";
JObject parameters = new JObject(); JObject parameters = new JObject();
parameters["username"] = "00000"; parameters["page"] = "1";
parameters["password"] = "11111"; parameters["size"] = "10";
/** /**
* 3:发起请求,获取返回 * 3:发起请求,获取返回
......
No preview for this file type
## 接口文档## ## 资讯流获取推荐 接口文档##
## 接口文档## ## 资讯流获取推荐 接口文档##
[TOC] [TOC]
### 接口说明 **1、**新增机器人 ### ### 接口说明 **1、**资讯流获取推荐###
- **请求URL** - **类-函数位置**
> HTTP/1.1[api/v2/operating/newRobot](#) >[待定:RecommendFund](#)
- **请求方式** - **输入参数**
>**GET/POST**
- **请求参数**
>Content-Type: application/json
> >
| 请求参数 | 参数类型/是否为空 | 参数说明 | | 输入参数 | 参数类型/是否为空 | 参数说明 |
| :-------- | :--------| :------ | | :-------- | :--------| :------ |
| uid| <mark>Long,**不可为空**</mark>| 机器人UID| | uid| <mark>Long,**不可为空**</mark>| 机器人UID|
| status| Integer,可为空| 机器人可用性,默认可用 **-1.不可使用 1.可用**| | status| Integer,可为空| 机器人可用性,默认可用 **-1.不可使用 1.可用**|
...@@ -49,14 +46,11 @@ ...@@ -49,14 +46,11 @@
cate_id 分类ID Array(不传显示全部) [1,3,6] cate_id 分类ID Array(不传显示全部) [1,3,6]
page_num 当前页码(可不传) 默认 1 page_num 当前页码(可不传) 默认 1
page_size 每页记录数目(可不填) 默认 10 page_size 每页记录数目(可不填) 默认 10
</pre> </pre>
Markdown | Less | Pretty Markdown | Less | Pretty
--- | --- | --- --- | --- | ---
*Still* | `renders` | **nicely** *Still* | `renders` | **nicely**
1 | 2 | 3
### 返回值 ### ### 返回值 ###
<pre> <pre>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment