|
@@ -247,30 +247,6 @@ class AppController extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @api {post} company/auth/addBookCoin 增加用户书币
|
|
|
- * @apiVersion 1.0.0
|
|
|
- * @apiName addBookCoin
|
|
|
- * @apiGroup CompanyAuth
|
|
|
- * @apiParam {String} channel_id 站点id
|
|
|
- * @apiParam {String} uid 用户id
|
|
|
- * @apiParam {String} amount 书币
|
|
|
- * @apiParam {String} app_id 分配好的{app_id}
|
|
|
- * @apiParam {String} nonce_str 随机字符串
|
|
|
- * @apiParam {String} timestamp 时间戳
|
|
|
- * @apiParam {String} sign 签名 规则同微信支付签名MD5(排序好的请求字符串&key=分配好的{app_secret})
|
|
|
- * @apiSuccess {int} code 状态码
|
|
|
- * @apiSuccess {String} msg 信息
|
|
|
- * @apiSuccess {Object} data 结果集
|
|
|
- * HTTP/1.1 200 OK
|
|
|
- * {
|
|
|
- * "code": 0,
|
|
|
- * "msg": "",
|
|
|
- * "data": {
|
|
|
- * "success": 1
|
|
|
- * }
|
|
|
- * }
|
|
|
- */
|
|
|
public function addBookCoin(ChannelQueryRequest $request)
|
|
|
{
|
|
|
$channel_id = $request->get('channel_id');
|