@qq286531097
2017-11-10T12:44:23.000000Z
字数 348
阅读 300
vans
kernel::single('b2c_fcode_code')->checkfcode($data);
传入数据
$data = array('tel' => '18621709876','fcode' => 'F6543');
tip:fcode字段为4位,接口那边有判断,但是最后调用前也有对应的判断
输出数据
1.抛出异常10001 请传入对应的手机号10002 请传入对应的F码10003 F码数据不合法20001 F码已经使用20002 无效的F码验证通过true
kernel::single('b2c_fcode_code')->offCode($data);
传入数据
$data = array('tel' => '18621709876','fcode' => 'F6543');
