Initiate a bargaining activity, and then invite friends to help. After bargaining for the lowest price, you can place an order to purchase the product at the low price.
```javascript
WXAPI.kanjiaJoin(token, kjid)
```
+ token user login credentials, call the login interface to obtain
+ kjid gets the id of the bargaining setting returned by the product bargaining setting interface, numeric type
Note: The same product (assuming the original price is 1,000 yuan) may have multiple bargain settings, such as:
+ Each person can help save 4 yuan, with a base price of 100 yuan;
+ No one can help to save 10 yuan, the lowest price is 50 yuan;
Therefore, you must pass the setting ID of the bargaining activity you wish to participate in.
Return example:
```json
{
"code": 0,
"data": {
"curPrice": 100,
"goodsId": 6765,
"kjId": 3,
"minPrice": 82,
"uid": 2017654
},
"msg": "success"
}
```
If there is currently an ongoing bargaining record, the current bargaining information will be returned directly:
```json
{
"code": 0,
"data": {
"curPrice": 100,
"dateAdd": "2021-11-30 15:51:42",
"dateUpdate": "2021-11-30 15:51:42",
"goodsId": 6765,
"helpNumber": 0,
"kjId": 3,
"minPrice": 82,
"status": 0,
"statusStr": "In progress",
"uid": 2017654
},
"msg": "success"
}
```
+ curPrice current price
+ minPrice base price
+ helpNumber number of assists