Calling the ribbon parameter to restart the interface, returning code 5, the parameter is incorrect, request ((PHP))

Author: afanxingzhou, Created: 2019-04-13 00:01:13, Updated:

The first one is robotid, the second one is setting json string.img

  1. setting specifics {pos (192,210) } The name of the project is: test [Sighs] [Please note, 123] [Both shout, true] [Coughing, coughing, coughing] I'm going to go to the bathroom. ♪ Oh, my God, my God ♪enc$$$iBQxY2BxuazEWfHaYOJsuA==”], [“OpMode”, 0, 133497], [“MaxSpace”, 0.5, 133497], [“SlidePrice”, 0.10000000000000001, 133497], [“MaxAmount”, 1, 133497], [“RetryDelay”, 500, 133497], [“MAType”, 0, 133497], [“Interval”, 300, 133497], [“F_SlidePrice”, 2, 133497], [“lv”, 0.5, 133497], [“max_open_lv”, 1, 133497], [“max_cover_lv”, 1, 133497], [“_GetMinStocks”, 0.01, 133497], [“isCTAshowTable”, false, 133497] ], “strategy”: 143940, “period”: 60, “node”: 82339, “appid”: “a”, “exchanges”: [{ “pid”: 43793, “pair”: “BTC_USDT” }, { “pid”: 43793, “pair”: “ETH_USDT” }, { “pid”: 42247, “pair”: “ETC_BTC” }] }

Contrary to the example in the document RestartRobot, the setting format should be fine. The args in the setting are written in imitation of the robot_args parameter in the robotDetail. robot_args => [[a,0],[b,false],[c,c],[d,1],[e,$$$enc$$$iBQxY2BxuazEWfHaYOJsuA=="],[“OpMode”,0,133497],[“MaxSpace”,0.5,133497],[“SlidePrice”,0.1,133497],[“MaxAmount”,1,133497],[“RetryDelay”,500,133497],[“MAType”,0,133497],[“Interval”,300,133497],[“F_SlidePrice”,2,133497],[“lv”,0.5,133497],[“max_open_lv”,1,133497],[“max_cover_lv”,1,133497],["_GetMinStocks",0.01,133497],[“isCTAshowTable”,false,133497]]"


More

afanxingzhouIt worked, thank you little dream boss!

afanxingzhouWell, I'll try it again, thank you little dream boss!

The Little DreamI've tested this interface with golang and it works. What's up? function main (() { method: = "RestartRobot" fmt.Println (("call interface:", method) settings := map[string]interface{}{ is used "name": "Test one", "args": []interface{}{}, "Strategy" is the name of the game. "period": 60, "Node": 82172, and "appid": member2", "exchanges": []interface{}{ map[string]interface{}{ is the name of the map "Pid" is 40437. "Pair": "BTC_USD", and "BTC_USD" are the same. I'm not sure. I'm not sure. I'm not sure. : ret= api ((method, 130350, settings) This is a list of all the different ways Fmt.Println is credited in the database. I'm not sure. What's up?

The Little DreamYour setting parameter needs to be passed to a JSON object, not a JSON string.

The Little DreamWhat's up? {pos (192,210) } "code": 0, "data": { is the name of the file. "result": 1, #1 means running "error": null This is the default. I'm not sure. I'm not sure. What's up? Is the return message code 5? Error 5 means that the parameter is incorrect. Check the setting parameter.

The Little DreamIt's not polite.