Showing
1 changed file
with
108 additions
and
0 deletions
@@ -415,3 +415,111 @@ | @@ -415,3 +415,111 @@ | ||
415 | | 返回码说明|| | 415 | | 返回码说明|| |
416 | |:-------| -----:| | 416 | |:-------| -----:| |
417 | |返回码|说明| | 417 | |返回码|说明| |
418 | + | ||
419 | +## 9、绑定第三方 /bind/changeMobileForce## | ||
420 | +绑定第三方 /bind/changeMobileForce | ||
421 | +请求方式 post | ||
422 | + | ||
423 | +#### 通用请求参数 | ||
424 | +| 参数名称 | 参数类型 |长度| 可否为空 | 示例 | 默认值 | 备注 | | ||
425 | +|:-------| -----:|-----:|-----:|-----:|-----:|----:| | ||
426 | +|business_line|String||否|mars||业务线| | ||
427 | +|ipStr|String|1-50|否|202.120.224.94||客户端ip| | ||
428 | +|udid|String|1-50|否|862658030250932a18b03cabec9e3a4||设备号| | ||
429 | +|app_version|String|1-10|否|6.5.0||客户端版本号| | ||
430 | + | ||
431 | +#### 请求参数 | ||
432 | +| 参数名称 | 参数类型 |长度| 可否为空 | 示例 | 默认值 | 备注 | | ||
433 | +|:-------| -----:|-----:|-----:|-----:|-----:|----:| | ||
434 | +|mobile|String|1-11|否|13770351234||手机号| | ||
435 | +|area|String|1-10|(国际手机号不可为空,不传默认为86)|86||国家码| | ||
436 | +|code|String|1-4|否|否||短信验证码| | ||
437 | +|source|String|1-10|否|"mars"、"now"||标识,用于区分mars和资讯| | ||
438 | +|open_id|String|1-50|否|oGUyct8iqKU5H7mmToGOdMdm7Km0||第三方openId| | ||
439 | +|source_type|String|1-10|否|wechat||第三方类型| | ||
440 | +|nickname|String|1-50|否|昵称是啥||昵称| | ||
441 | +|client_type|string|1-10|否|"iphone"、"android"、"h5"||标识客户端类型| | ||
442 | + | ||
443 | +请求参数示例:http://192.168.103.73:8096/uic/bind/changeMobileForce | ||
444 | +```json | ||
445 | +{ | ||
446 | + "mobile":"15996238444", | ||
447 | + "code":"3416", | ||
448 | + "area":"86", | ||
449 | + "source":"mars", | ||
450 | + "client_type":"iphone", | ||
451 | + "open_id":"oGUyct8iqKU5H7mmToGOdMdm7Km0", | ||
452 | + "source_type":"wechat", | ||
453 | + "business_line":"mars", | ||
454 | + "ipStr":"223.4.52.9", | ||
455 | + "nickname":"昵称是啥" | ||
456 | +} | ||
457 | +``` | ||
458 | + | ||
459 | +响应JSON格式如下所示: | ||
460 | +```json | ||
461 | +{ | ||
462 | + "uid": 4213214, | ||
463 | + "is_bind": "Y", | ||
464 | + "is_register":1, | ||
465 | + "profile":"15996238444", | ||
466 | + "session_key":"138424b9cf039fd60760cd17019f64df" | ||
467 | +} | ||
468 | +``` | ||
469 | + | ||
470 | +#### 返回码说明: | ||
471 | +| 返回码说明|| | ||
472 | +|:-------| -----:| | ||
473 | +|返回码|说明| | ||
474 | + | ||
475 | + | ||
476 | +## 10、个人中心更换绑定手机/bind/changeMobileForce## | ||
477 | +个人中心更换绑定手机(/bind/changeMobileForce) | ||
478 | +请求方式 post | ||
479 | + | ||
480 | +#### 通用请求参数 | ||
481 | +| 参数名称 | 参数类型 |长度| 可否为空 | 示例 | 默认值 | 备注 | | ||
482 | +|:-------| -----:|-----:|-----:|-----:|-----:|----:| | ||
483 | +|business_line|String||否|mars||业务线| | ||
484 | +|ip|String|1-50|否|202.120.224.94||客户端ip| | ||
485 | +|udid|String|1-50|否|862658030250932a18b03cabec9e3a4||设备号| | ||
486 | +|app_version|String|1-10|否|6.5.0||客户端版本号| | ||
487 | + | ||
488 | +#### 请求参数 | ||
489 | +| 参数名称 | 参数类型 |长度| 可否为空 | 示例 | 默认值 | 备注 | | ||
490 | +|:-------| -----:|-----:|-----:|-----:|-----:|----:| | ||
491 | +|mobile|String|1-11|否|13770351234||手机号| | ||
492 | +|area|String|1-10|(国际手机号不可为空,不传默认为86)|86||国家码| | ||
493 | +|code|String|1-4|否|否||短信验证码| | ||
494 | +|source|String|1-10|否|"mars"、"now"||标识,用于区分mars和资讯| | ||
495 | +|uid|String|1-11|否|3241423||用户uid| | ||
496 | +|client_type|string|1-10|否|"iphone"、"android"、"h5"||标识客户端类型| | ||
497 | + | ||
498 | +请求参数示例: | ||
499 | +```json | ||
500 | +{ | ||
501 | + "mobile":"15996238444", | ||
502 | + "code":"3416", | ||
503 | + "area":"86", | ||
504 | + "source":"mars", | ||
505 | + "client_type":"h5", | ||
506 | + "uid":"3241423", | ||
507 | + "business_line":"mars", | ||
508 | + "ipStr":"223.4.52.9" | ||
509 | +} | ||
510 | +``` | ||
511 | + | ||
512 | +响应JSON格式如下所示: | ||
513 | +```json | ||
514 | +{ | ||
515 | + "uid": 4213214, | ||
516 | + "mobile": "15996238444", | ||
517 | + "email":"", | ||
518 | + "session_key":"138424b9cf039fd60760cd17019f64df" | ||
519 | +} | ||
520 | +``` | ||
521 | + | ||
522 | +#### 返回码说明: | ||
523 | +| 返回码说明|| | ||
524 | +|:-------| -----:| | ||
525 | +|返回码|说明| |
-
Please register or login to post a comment