java测试格式

###  登录接口
POST http://localhost:8011/user/login
Content-Type: application/json

{
  "username": "lanmao",
  "password": "123456"
}

###数组 对象

POST http://localhost:8011/shopOrder/intelligentOrder
Accept: application/json
Content-Type: application/json
MssyToken: 65395dda-8cc4-4ad4-8561-79f9e8997610

   [
    {
      "skuId":1,
      "skuName":"酸辣土豆丝",
      "purchaseNum": 11.00

    },
     {
       "skuId":1,
       "skuName":"酸辣土豆丝1",
       "purchaseNum": 12.00

     }
  ]



### 数组 id


POST http://localhost:8011/shopOrderItem/findItemBy/1
Accept: application/json
Content-Type: application/json
MssyToken: 65395dda-8cc4-4ad4-8561-79f9e8997610


[
  1539162023533694977
]


###

POST http://localhost:8011/shopOrder/list
Accept: application/json
Content-Type: application/json
MssyToken: 65395dda-8cc4-4ad4-8561-79f9e8997610

{

}


### 分页

POST http://localhost:8011/shopOrderItem/page
Accept: application/json
Content-Type: application/json
MssyToken: 65395dda-8cc4-4ad4-8561-79f9e8997610

{
  "current": 1,
  "size": 1,
  "condition": {

  }
}


###

POST http://localhost:8011/shopOrder/findByShopOrderIds
Accept: application/json
Content-Type: application/json
MssyToken: 65395dda-8cc4-4ad4-8561-79f9e8997610

[
  1
]


### 对象

POST http://localhost:8011/stockBin/create
Accept: application/json
Content-Type: application/json
MssyToken: 9c6c8362-18cb-435d-893e-5d46b0a6a712

{
  "warehouseCode": "3",
  "stockBinCode": "3",
  "stockBinName": "3",
  "temperatureType": 3,
  "length": 3,
  "width": 3,
  "height": 3,
  "remark": "3"
}



### 对象里面包含数组

POST http://localhost:8011/shopOrder/submit
Accept: application/json
Content-Type: application/json
MssyToken: f498bab0-634b-4864-9c29-6db49a09b140

{
  "shopId":1511972838117609473,

  "shopOrderItemDTOList": [
    {
      "productQuantity":11,
      "productItemId":1539875196331827202,
      "unitId":1536616358363258882,
      "productItemPrice": 4
    }
  ]
}



###

POST http://localhost:8011/stocktakingTaskDetail/list
Accept: application/json
Content-Type: application/json
MssyToken: 073d1be6-0ea3-4d8d-a822-0b643cd7224c

{
  "stocktakingTaskId": 1
}


###

POST http://localhost:8011/shopOrder/updateStatus/1544187990537605121/300
Accept: application/json
Content-Type: application/json
MssyToken: 7046ec44-a256-4630-9974-1dc323e5d20e







评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值