|
@@ -22,7 +22,7 @@ class User extends BaseController {
|
|
|
if (empty($channelId)){
|
|
|
throw new ApiException('渠道id不为空');
|
|
|
}
|
|
|
- file_put_contents('log', json_encode(input()), FILE_APPEND);
|
|
|
+ file_put_contents('log', die('Y-m-d H:i:s').'-'.json_encode(input()).PHP_EOL, FILE_APPEND);
|
|
|
// if (empty(input('unionid'))){
|
|
|
// throw new ApiException('unionid不为空');
|
|
|
// }
|